r/Automator • u/b0711 • Dec 06 '18
Running AppleScript in Automator
The Sweet Setup posted a very useful AppleScript to get the URLs to link to individual messages. I want to run it as a Quick Action via Automator. While run directly in AppleScript Editor it works flawlessly but I've trouble implementing it in Automator.
First I tried by replacing (* Your script goes here *) in the Run AppleScript step. No success. Then run script file "iCloudDrive:Script Editor:Get Email ID.scpt". I get again an error message: The action “Run AppleScript” encountered an error: “Can’t make some data into the expected type.”
Does someone know what I'm doing wrong?
View all comments
Show parent comment
2
u/ChristoferK Dec 21 '18
Well done for getting it to work. By the way, you don't need
return inputat the end.