Copy link to clipboard
Copied
Guys, it is so annoying to me, could you please tell me how to create adjustment layer with applescript ?
Thank you 🙂
Copy link to clipboard
Copied
If I remember correctly one can run JavaScript from AppleScript.
Copy link to clipboard
Copied
Since I don't have a Mac, I'm not sure of this, but will scriptListener record the code? On Win, it records both javascript and VB, so maybe on a Mac it will record Applescript instead of VB.
Copy link to clipboard
Copied
https://helpx.adobe.com/photoshop/kb/downloadable-plugins-and-content.html#ScriptingListenerplugin
Quote from »Photoshop Scripting Guide.pdf«:
The ScriptListener Plug-In
Before you use the Action Manager, you must install the ScriptListener plug-in. ScriptListener records a file
with scripting code corresponding to the actions you perform in the UI.
TIP: Because ScriptListener records most of your actions, install ScriptListener only when you are creating
Action Manager scripts. Leaving ScriptListener installed continuously will not only create large files that
occupy memory on your hard drive, it can slow Photoshop performance.
When you perform a task or series of tasks in Photoshop, ScriptListener creates several files, which contain
code that represents the actions taken in Photoshop:
➤ ScriptingListenerJS.log, containing JavaScript code,
➤ ScriptingListenerVB.log, containing VBScript code (Windows only).
ScriptListener creates these files on the desktop.
NOTE: There is no AppleScript interface to the Action Manager. However, you can access the Action
Manager from an AppleScript by executing a JavaScript from AppleScript. See “Running JavaScript-based
Action Manager code from AppleScript” on page 80.
Copy link to clipboard
Copied
Thanks, always wondered about that.
Copy link to clipboard
Copied
This does not directly answer what methods are supported in AppleScript (guides here)... however, you may wish to look at the following topic for more info on getting JavaScript and Action Manager/Scripting Listener code working with AppleScript (either as inline code or as an externally referenced file):
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more