I need my script to wait while photoshop completes the action I have called before executing the next step in the script.
I am on photoshop CC 2015.
Will applescript wait for the ‘do action’ to complete before it moves on?
Here is the portion that calls the photoshop action.
tell application " Adobe Photoshop CC 2015"
set myFilePath to “Macintosh HD:Users:D:Dropbox:Development:QTCo:Hotfolder:dog-1-2.png”
open alias myFilePath
tell document 1
do action “Wood Frame - 50 pixel” from “Default Actions”
Is there a command that can instruct applescript to interrogate the outcome of the photoshop action.
For example in FIleMaker there is a function get(ScriptResult). that lets you determine the outcome of the last script.