Applescript ok in Applescript Editor, but not in Automator "run applescript"
so, I have a basic script like this:
display alert "Input Error" message "You need to select 1 file." as critical buttons {"Stop"} default button "Stop"
This works fine (!) in Script Editor.
Now, in Automator, in a "Run AppleScript" action, the same Apple Script as above creates an error:
Any idea ? it's driving me crazy!
Thanks for the help.
MacBook Pro 13", macOS 10.12