Photoshop Script Groups And Images From CSV

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • Photoshop Script Groups And Images From CSV
    JavaScript for Photoshop reads a CSV spreadsheet of group and image names, creates the groups, and any groups within groups, and places imported images into specified groups. Video tutorial is Windows. Script works the same both macOS and Windows.
    Groups may be nested within others to any depth
    The number of groups within groups may vary
    Groups and images are named from CSV data
    Get the script: www.marspremed...
    How to install Illustrator scripts macOS: • Illustrator Scripts Ho...
    How to install Illustrator scripts Windows: • Illustrator Scripts Ho...
    How to install InDesign scripts macOS: • InDesign Scripts How t...
    How to install InDesign scripts Windows: youtu.be/
    How to install Photoshop scripts macOS: • Photoshop Scripts How ...
    How to install Photoshop scripts Windows: • Photoshop Scripts How ...
    More about installing scripts both macOS and Windows: www.marspremed...
    Other useful scripts for Adobe Creative Cloud applications: www.marspremed...

КОМЕНТАРІ • 22

  • @johnmatthews8338
    @johnmatthews8338 5 місяців тому +1

    Hi William -- thanks for the Adobe scripting tutorial series, it has been very helpful. Do you know how to get user input from key presses in an Adobe app? A tutorial on that could be quite useful.
    I'm trying to batch process a folder of images in Photoshop using a script. I want to watermark the images with a logo in either the bottom left or bottom right corner, depending on which will look better for the particular image -- a subjective decision that the user will need to make. What I'd like the script to do is to open an image and then pause, waiting for the user to press either the left or right keyboard key to determine on which side to place the watermark. Once the key is pressed, the script will watermark the image accordingly, do any other processing, save and close it, and then repeat for all the other images in the folder.
    Right now I've got all the pieces I need for this to work except for the pause and wait for keypress piece. Any help you could provide on this topic would be greatly appreciated!

    • @wc7
      @wc7  5 місяців тому +2

      I would make a "palette" dialog that stays open while the script runs. Have on it a button for left, and a button for right. The button clicked determines where the watermark is positioned. Or you can add keyboard event listeners. I don't have tutorials for either topic yet but I'll add them to my list. Both are covered in the Photoshop API for which there is a link in the description. In the meantime search the web for "Photoshop JavaScript palette". Especially look in the Adobe user forum. Free to join: community.adobe.com/

    • @wc7
      @wc7  5 місяців тому +2

      Now that I think of it, my progress bar tutorial does show how to create a modeless "palette" window that stays open.
      ua-cam.com/video/JXPeLi6uPv4/v-deo.html

    • @johnmatthews8338
      @johnmatthews8338 5 місяців тому +2

      @@wc7 Thanks for the response! I'll check out that palette dialog option, that sounds like it should work well. The keyboard event listeners would still be a cool tutorial topic that could come in handy.

  • @aussie2uGA
    @aussie2uGA 6 місяців тому +1

    I like it! Now I just need some people here to explain what they generally will use this for ;)

    • @wc7
      @wc7  6 місяців тому +2

      It was a user request so at least one person has a use for it.

  • @Sugarmk5
    @Sugarmk5 6 місяців тому +2

    Thanks for the great sharing.
    The download link does not seem to be connected.

    • @wc7
      @wc7  6 місяців тому +2

      Yes it was a broken link. Now it is fixed. Thank you for letting me know. I really appreciate it.

  • @tiffanyw3794
    @tiffanyw3794 6 місяців тому +1

    How did you get your dialog box to have the blue outline and inner lines

    • @wc7
      @wc7  6 місяців тому +3

      Windows Settings, Personalization, Colors, Accent color. It can be any color you like. Personally I like the blue color, which in the grid of choices is simply "Blue" if you hover over it. Second row down, second from the right (on my monitor anyway). Then below the grid of colors, enable the option "show accent color on the title bars and windows borders". The accent color appears on most dialog windows, but not all. App windows for example it doesn't appear.

    • @tiffanyw3794
      @tiffanyw3794 6 місяців тому +1

      @@wc7 thanks I thought it was something we had to program the script to do

  • @hustleheartdesignco2319
    @hustleheartdesignco2319 5 місяців тому +1

    when we add an expiration date to our script is there away to stop it from reactivating if the user changes there global date?

    • @wc7
      @wc7  5 місяців тому +1

      I don't understand. Dating a script file or changing its modified date has no effect on how any of my scripts operate.

    • @hustleheartdesignco2319
      @hustleheartdesignco2319 5 місяців тому +1

      this isn't related to the script in the video. I saw that with photoshop jsx scripts you can program them to expire after a certain date . but can program it to sense tampering trying to figure that out // Set the expiration date
      const expirationDate = new Date('2024-12-31'); // Set your desired expiration date
      // Function to check if the script is expired
      function checkExpiration() {
      const currentDate = new Date();
      if (currentDate > expirationDate) {
      console.error("This script has expired and will no longer function.");
      // Disable functionality or alter the script behavior
      return false; // Indicate that the script is expired
      }
      return true; // Indicate that the script is still active
      }
      // Usage example
      if (checkExpiration()) {
      // Your script's functionality here
      console.log("Script is active.");
      } else {
      // Optional: code to execute after expiration
      }

    • @hustleheartdesignco2319
      @hustleheartdesignco2319 5 місяців тому +1

      @@wc7 this isn't related to the script in the video. I saw that with photoshop jsx scripts you can program them to expire after a certain date . but can program it to sense tampering trying to figure that out // Set the expiration date
      const expirationDate = new Date('2024-12-31'); // Set your desired expiration date
      // Function to check if the script is expired
      function checkExpiration() {
      const currentDate = new Date();
      if (currentDate > expirationDate) {
      console.error("This script has expired and will no longer function.");
      // Disable functionality or alter the script behavior
      return false; // Indicate that the script is expired
      }
      return true; // Indicate that the script is still active
      }
      // Usage example
      if (checkExpiration()) {
      // Your script's functionality here
      console.log("Script is active.");
      } else {
      // Optional: code to execute after expiration
      }
      Reply

    • @wc7
      @wc7  5 місяців тому +1

      @@hustleheartdesignco2319 Adobe scripts are JavaScript ES3. Anything you can do with that language can be done in script. For example, the particular scheme to expire a script. It's not anything that Photoshop provides. It is simply JS code to make a script stop working when a certain date is reached. To prevent users from tricking the script, it takes code more clever that includes storing dates somewhere on the user's storage drive. How I do it is proprietary. If I showed how, it only helps others defeat my trial expiration scheme. Sorry, this one you have to get creative and be unique which also helps. Use your imagination.

    • @hustleheartdesignco2319
      @hustleheartdesignco2319 5 місяців тому +1

      @@wc7 ok I didn't know you had exp. Dates on the scripts

  • @abdullahemad6469
    @abdullahemad6469 5 місяців тому +1

    كيف يمكنني شراء وكيف يمكنني التنقل بين جهاز و اخر وما هو الضمان

    • @wc7
      @wc7  5 місяців тому +1

      Link in the description.