From Photoshop actions to Photoshop scripting?

后端 未结 5 1261
伪装坚强ぢ
伪装坚强ぢ 2021-01-30 07:33

I would like Photoshop to automatically execute the following task for a given folder:

  1. Load all PNG files in a given folder.
  2. Convert each file\'s mode to
5条回答
  •  滥情空心
    2021-01-30 08:17

    Let me answer the question you actually asked in bold: There is a tool that automatically generates the Javascript for the actions and events that are taking place in Photoshop. It is called the Script Listener. After using the script listener to record your actions, review the log and make your selective edits.

    To begin using the Script Listener

    1. Close Photoshop
    2. Copy the ScriptListener.8li file from the C:\Program Files\Adobe\Adobe Photoshop CS5\Scripting\Utilities folder
    3. Paste the file to the C:\Program Files\Adobe\Adobe Photoshop CS5\Plug-ins\Automate folder.
    4. Run Photoshop, perform actions you want to happen in your script.
    5. Close Photoshop, delete the copy of the script listener from the Automate folder.
    6. Edit the log file that is placed on your desktop by the script listener.

    To get your new fangled script into Photoshop place the file you've created with a jsx extension into C:\Program Files\Adobe\Adobe Photoshop CS5\Presets\Scripts.

提交回复
热议问题