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!

Recent content by MarshySwamp

  1. 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 -...
  2. M

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

    The following topic may be informative: https://community.adobe.com/t5/photoshop-ecosystem-discussions/photoshop-needs-quot-color-to-alpha-quot-button/m-p/11510234 I create an English version of the Japanese action to create transparency and partial transparency from white or black...
  3. M

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

    Apologies, I just stumbled over this old topic and realised that I never replied. The two previous scripts were misnamed, they only batch copied the top/first pathItem[0] from the source to the destination documents. This updated code will copy all paths, whether the count is 1, 2, 3 or more...
  4. M

    Scripting Simple script using ChatGPT to reset ruler settings

    Thanks for linking to my GitHub! The original code came from an Adobe Employee, Tom Ruark, it is esoteric and complex, making use of AM code (Action Manager), not DOM code (Document Object Model)...
  5. M

    Scripting Simple script using ChatGPT to reset ruler settings

    Generative pre-trained AI software is only as good as the sample/training data ingested... And sometimes it just makes stuff up to be "helpful"! :] It's early days for these tools and they often produce garbage code... Or code that is 90% accurate but the remaining 10% is rubbish and therefore...
  6. M

    Where to begin with PS scripting for noob?

    Here is an example of a self-contained script that will save JPEG files with the file name in the lower right from selected input files. A sub-directory will be created titled "Filename Added" to ensure that the original files with the same name are not overwritten. #target photoshop // Save...
  7. M

    Script with Generative Fill Batch Script

    You will likely run out of generative fill credits very fast! https://community.adobe.com/t5/photoshop-ecosystem-discussions/photoshop-what-you-need-to-know-about-generative-credits/td-p/14185311
  8. M

    Where to begin with PS scripting for noob?

    Adding to this, there currently is and will be some future overlap in time where the old ExtendScript will still be workable, however, the writing is indeed on the wall and UXP is the new heir to the throne. At some future point in time, Photoshop will not support both methods and only UXP will...
  9. M

    Where to begin with PS scripting for noob?

    If the script is installed in the program folder presets/scripts folder, then it will be available under File > Scripts when you record the action. If the script file is located elsewhere, record the action and use File > Scripts > Browse to record the execution of the script. ExtendScript...
  10. M

    Where to begin with PS scripting for noob?

    As an example, the following script will add the filename to a single document. One can then record the execution of the script into an action, then use File > Automate > Batch or use the Image Processor or Image Processor Pro or other batch scripts to run the action and save the file to various...
  11. M

    Where to begin with PS scripting for noob?

    Unless you're French, Actions and Scripts are two different things. Even if you are French, they are still two separate things, even if they share the same name! :] Although it is possible to record the execution of a script into an action to perform a task that is outside the scope of...
  12. M

    Script is not working!

    The first step for troubleshooting is that one must follow the "four rules"... https://github.com/MarshySwamp/JJMack-Archive https://web.archive.org/web/20210419210422/http://www.mouseprints.net/old/dpr/PhotoCollageToolkit.html
  13. M

    Embedding an Image

    Another option is to use the frame tool to create a rotated placeholder. https://helpx.adobe.com/au/photoshop/using/place-image-frame-tool.html https://helpx.adobe.com/au/photoshop/using/tool-techniques/frame-tool.html
  14. M

    Batch Automation 2 Folder action

    I made a quick edit to an old script as an example. This saves as JPEG, but it could be any format that is required. It's just a start point as everybody has different requirements so it's hard to offer generic code. /* Combine Images from 2 Input Folders to Output Folder as JPEG.jsx...
  15. M

    Batch Automation 2 Folder action

    You'll need a script to combine images from two separate folders and save to another folder. I have created many similar scripts. How are the files named in each folder? Is there a logical, consistent pattern to the naming? Example: Folder A: 001A.png 002A.png 003A.png Folder...
Back
Top