Passing user input to an AppleScript in Automator
I am using an Automator workflow which includes:
“Run Applescript”.
The Applescript has two variables eg
Set Christian_Name to “Sam”
Set Surname to “Smith”
I would like to able to run the script with different user inputs to be entered concurrently
I have tried many combinations, which have included “Ask for text” but I can’t then assign the input to Christian_Name and Surname.
On Run(input, parameters)
seems to work for one input but I can’t get the two inputs from the two “Ask for text”.
I would be grateful to be shown the syntax please.
iMac 21.5″, macOS 10.13