Here is the thing:
I'm using AppleScript in Automator to get the clipboard value, and of course it works, but when I want to get multiple separated value, it always returns me only one value on the top。
Here is the step:
- In Automator, import multiple "Get Value of Variable" actions, and in these actions, I will set multiple values, all of these values are e-mail format
- Import an action named “Ask For Confirmation”, without this action, I can’t pass multiple values to the next action “Choose from list”(I don’t know why, but it works)
- Import an action named “Choose from list” to let users choose the e-mail values I’ve pre-set in this Automator application
- Import another action named “Set Value of Variable” to get the values users have chosen
- Import an action named ”Copy to Clipboard” to copy these values to clipboard
- Import an action named “Run AppleScript” and here is my code:
on run {input, parameters}
--get the clipboard info
set Storage to get the clipboard
display dialog Storage
return input
end run
I've tried to copy some text_1, text_2 ... manually(command+c, command+v) and then run my AppleScript only, and it turns out the result what I really want like this:
Here is my Script Editor code:
I have to say, due to some limitation I can only use Automator and AppleScript,so is there any solution or suggestion? Here is the "Get Value of Variable" picture Get Value of Variable
Get Value of Variable
and how they are choosing them. - l'L'l