My script is composed of 3 automator actions:
- “Ask for text”
- “Run Applescript”
- “New Mail message”
I want to change the text entered in step 1) with the AppleScript code at step 2) and then put it in the message of the email at step 3). However, It does not work for me, even if I have this script which does not modify anything ( I think ):
on run {input, parameters}
(* Your script goes here *)
return input
end run
I tried also:
on run {input, parameters}
(* Your script goes here *)
return first item of input
end run
because I noticed that the output was within curly braces and so it was a list. Note that If I remove the action 2) it’s working.
What i am doing wrong ?
Thanks
john
Model: MacMini
AppleScript: AppleScript 2.0.1
Browser: Firefox 3.0.1
Operating System: Mac OS X (10.5)