What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Search results

  1. M

    Resize Canvas to 1:1 with White Background for all images in a folder

    Good suggestion John, I love the rotating a duped temp layer by 90° trick too, until I learnt that I thought that scripting was the only way. When I built an action for this, I also wanted to cover flattened vs. layered images and used conditional actions.
  2. M

    Resize Canvas to 1:1 with White Background for all images in a folder

    Try this revised code: // Open folder selection dialog var inputFolder = Folder.selectDialog("Select a folder with images"); // Check if a valid folder was selected if (inputFolder) { var files = inputFolder.getFiles(/\.(jpg|jpeg|png|tif|tiff|psd)$/i); for (var i = 0; i <...
  3. M

    Adding a Date to a Photo

    Specific information is needed, are all the dates the same, do the dates come from file metadata such as date created etc? What font, colour, size, location etc. Although this can be scripted in Photoshop, most people writing scripts are using current versions and things may not work in such an...
  4. M

    Batch Automation 2 Folder action

    A GUI version here: https://community.adobe.com/t5/photoshop-ecosystem-discussions/script-to-open-files-and-layer-them/m-p/12532657#U14933502
  5. M

    Scripting Document Creation help.

    @Sator - As correctly indicated by [ iLLuSioN ] – you need to explicitly set ruler units, unless you know (not assume) that the current ruler units are correct (px). You should always compare AI-generated code to the docs, as sometimes generative LLMs provide fake, non-existent code to be...
  6. M

    Actual Pixel Count in a channel

    How did you go with this project? I supplied the script and was waiting for feedback on how your production test runs worked in early 2024, but I haven't heard back from you... Feedback is appreciated for my coding growth, it's the only "payment" for the unpaid work hours put into developing...
  7. M

    Actions How to create an action that pauses for input/

    Yes, this is what the action modal control icon is for:
  8. M

    Image Size Script/Action - Change the longest dimension to 15,000px

    In a batch action, you can use the File > Automate > Fit Image script. Simply enter 15,000 into both the width and height fields to scale the longest edge to 15K while proportionally scaling the other edge. Perhaps even better, you can alternatively use the Image Processor or Image Processor...
  9. M

    Copy all paths from JPEG and paste them into a PSD?

    An updated 1.2 version: v1.0 * Select the source input folder containing the JPEG files * Select the source input folder containing the PSD files * Select the destination output folder for the PSD files, either overwriting the source input PSD files or saving the PSD files to a new location...
  10. M

    Script error in PS 2021

    An updated script with a GUI here: https://community.adobe.com/t5/photoshop-ecosystem-discussions/script-to-transfer-clipping-paths-from-proxy-jpgs-to-raw-files/m-p/12977771
  11. M

    Copy all paths from JPEG and paste them into a PSD?

    Here is a version of the Batch Copy Paths from JPEG Files to PSD Files script with a GUI, features include: * Select the source input folder containing the JPEG files * Select the source input folder containing the PSD files * Select the destination output folder for the PSD files, either...
  12. M

    Fit image to Canvas automatically

    A related script: https://community.adobe.com/t5/photoshop-ecosystem-ideas/enhance-resizing-workflow-with-fit-to-canvas-option/idc-p/14895563 Inspiration from: https://forums.adobe.com/message/5413957 https://forums.adobe.com/thread/1968642 https://forums.adobe.com/message/8022190...
  13. M

    Define variable names for data set based on layer names

    Not that I am aware of. Layer visibility can be scripted as part of a larger process, so perhaps if you can explain step by step what you are trying to do this can be achieved without using variables/data driven graphics.
  14. M

    Scripting Photoshop Event IDs for Scripts Event Manager

    John, thanks for your post and samples. I cared enough to attempt to write "the concise missing manual": https://prepression.blogspot.com/2021/10/photoshop-script-events-manager.html
  15. M

    How or through which menu can I launch it?

    Yes, that is the best way, either install the script for use with a custom keyboard shortcut or run it from browse if you don't wish to permanently install it. One can also record a script into an action, but then you only have Function key shortcuts. The Script Events Manager is intended for...
  16. M

    How or through which menu can I launch it?

    If you wish to run an adhoc script, use File > Scripts > Browse... If you wish to install a script so that it's available under File > Scripts, then it goes in the Photoshop application folder in the Presets/Scripts sub-folder If you wish to have Photoshop automatically run the script when an...
  17. M

    SEARCHING FOR: RemoveBlack.8bf / RemoveWhite.8bf

    I am not sure if it does exactly the same thing as those old plug-ins, however, it was worth mentioning.
  18. M

    SEARCHING FOR: RemoveBlack.8bf / RemoveWhite.8bf

    It makes the Japanese action work in English versions – but I also added the option for a black version in addition to the original white. It will create transparency and partial transparency from white or black backgrounds. This is not the same thing as using blend if sliders or layer masks...
  19. M

    Cut images

    Keep in mind that the old ImageReady code used in Save for Web (Legacy) has a 8,192px input limit on the longest edge – so if your file was say 16,384px on the longest edge it would be scaled to 50% size before the slices are saved.
  20. M

    Copy all paths from JPEG and paste them into a PSD?

    The following 1.1 updated version of my previous script will retain the Clipping Path setting from the JPEG file to the PSD (however the flatness value isn't known and is blank). /* Batch Copy All Paths from JPEG to PSD Files - 2 Input Folders.jsx v1.0 - 21st April 2024: Stephen Marsh v1.1 -...
Back
Top