Search results

  1. P

    Saving all PSD file layers as jpg with layer name

    Here is a script I wrote a few years ago that should work for you. You will get a different menu depending if there are layersets or not.
  2. P

    Scripting Start recording in the Mode button mode

    Only actions can record brush strokes. An action can be converted to a javascript but I would not recommend doing it with brushstokes as the javascript would be MASSIVE and might not work.
  3. P

    Scripting Start recording in the Mode button mode

    Not that I know of. You can put all the details of the actions to a text file by holding ctrl/alt and save actions. On newer versions you can use shift/ctrl/alt and save actions, this will create a json file. Another option is not to use an action but to install the ScriptListener.8li plugin and...
  4. P

    Actions Help with Copying Layer Name to Group Name for an Action

    What you can do is run this script twice, the first time to copy the layer name. You would then have to select the layer(s) to want to rename then run the script again to do the rename(s). #target photoshop main(); function main(){ if(!documents.length) return; if ($.getenv("lName") == null){...
  5. P

    Read / Write metadata to image / layer

    A bit more information that might help you. This code will dump the xmp details of a document in Photoshop to the Desktop, this will show the different metadata formats that you would need to populate in the correct format. #target photoshop; if(documents.length){ var xmpInfo = new...
  6. P

    Read / Write metadata to image / layer

    Layer ID's are unique to each layer and amending this field could cause problems. alert(activeDocument.activeLayer.id); There is a layer metadata field that holds the time of the last update of the layer I.E. alert(layerTime()); function layerTime(){ var ref = new ActionReference()...
  7. P

    Read / Write metadata to image / layer

    Here is an example of setting per layer metadata. N.B. To use per layer metadata it must be the active layer! It uses an external library setCommentMetadata("This is a comment"); function setCommentMetadata(comm){ if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript =...
  8. P

    Read / Write metadata to image / layer

    Metadata can be added to the file without open it in Photoshop, but not to a layer. To add metadata to a layer the file must be opened in Photoshop. All these can be accomplished with Extendscript. Using Python or any other COM you might have some difficulties.
  9. P

    Copying multiple images from PS to Illustrator.

    I don't know as Ican't get it to fail here? The code can be shortened as it doesn't need to select trancparency. #target photoshop app.bringToFront(); main(); function main(){ if(!documents.length) return; try{ var SB=activeDocument.selection.bounds; }catch(e){ alert("No...
  10. P

    When I save for web, change size of the parts

    The problem could be the PPI of the original document, as this has not been mentioned. If the 4 sections are saved with Save For Web the PPI could be removed and will default to 72
  11. P

    Copying multiple images from PS to Illustrator.

    Could you try copying the script once again as the error message is cmplaining of a curly bracket missing. I have copyed the above script and tested it so I know it is ok.
  12. P

    Copying multiple images from PS to Illustrator.

    I wrote it six years ago as part of a small project, but thought it would meet your needs.
  13. P

    Copying multiple images from PS to Illustrator.

    You could try this script, run the script after you have made all your selections. Photoshop only. #target photoshop app.bringToFront(); main(); function main(){ if(!documents.length) return; selectTransparency(); try{ var SB=activeDocument.selection.bounds; }catch(e){...
  14. P

    Global find/replace in metadata WITHOUT affecting other text in same field

    This Adobe Bridge script should work.. https://raw.githubusercontent.com/Paul-Riggott/PS-Scripts/master/Find%20and%20Replace.jsx
  15. P

    I used Adobe Bridge as a....

    I wonder if you have selected "Filmstrip" if so select "Essentials"
  16. P

    Loading all images in a folder into groups of 3 ...is it possible ?

    Here is an example script that will create PSD's of 3 jpgs each and save them in a folder called "Stacked" off the selected folder. #target photoshop; main(); function main(){ inputFolder = Folder.selectDialog("Please select the folder with Files to process"); if(inputFolder == null) return...
  17. P

    Scripting Way to have the "create just date " to print into photo?

    #target photoshop; if(documents.length){ if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript'); var xmp = new XMPMeta(activeDocument.xmpMetadata.rawData); if( xmp.doesPropertyExist(XMPConst.NS_XMP, "CreateDate" ) ) { var date =...
  18. P

    Automate Batch by jumping

    Sorry I do not understand, are you wanting to check letters as well? If so that would take a lot to do.
  19. P

    Automate Batch by jumping

    Please try this... #target photoshop; app.bringToFront(); main(); function main(){ var inputFolder= Folder.selectDialog ("Please select folder to process"); if(inputFolder == null) return; var outputFolder = Folder(inputFolder + "/processed"); if(!outputFolder.exists) outputFolder.create()...
  20. P

    Automate Batch by jumping

    Yes this is possible if you want to process all odd numbered files. This example will prompt for the input folder and write the output files to a folder called processed off the input folder. N.B. You need to change the line:- doAction("ActionName","ActionSet"); To reflect the actual name of...

Top