Re: Automator-users Digest, Vol 45, Issue 11
Re: Automator-users Digest, Vol 45, Issue 11
- Subject: Re: Automator-users Digest, Vol 45, Issue 11
- From: "Mr. Dan Pouliot" <email@hidden>
- Date: Sun, 25 Oct 2009 21:07:20 -0400
I was able to get Automator to do what you want, by eschewing
variables altogether. My solution workflow has three steps:
-Ron Hunsinger
Thanks for the solution! I looked at your applescript and I can tell
that it should work, but for some reason it gave me vague errors
(though it worked if I ran it in script editor). But you gave me the
idea to stop considering variables (I agree that the non-existence of
documentation here is disgraceful). Anyway, after considering
alternatives I came up with a solution that works for me. One thing I
like about it is that it is a more open ended search, rather than just
searching senders.
1) service receives selected text
2) copy to clipboard
3) watch me do ( I recorded the single step of clicking into Mail's
search field
4) Run AppleScript
on run {input, parameters}
tell application "Mail"
activate
tell application "System Events"
tell process "Mail"
click menu item "Paste" of menu "Edit" of menu bar item "Edit" of
menu bar 1
end tell
end tell
end tell
return input
end run
Works like a charm!
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden