Re: Fun with Eudora & AppleScript
Re: Fun with Eudora & AppleScript
- Subject: Re: Fun with Eudora & AppleScript
- From: Cornwall <email@hidden>
- Date: Sun, 23 Jun 2002 17:28:05 -0700
At 11:27 PM -0600 6/22/02, David Crowe wrote:
>
I have been playing with an AppleScript (embedded in QuickKeys) to
>
try to do the simple job of attaching files selected in the Finder to
>
a Eudora email message.
I'm on OSX and Eudora 5.1.1, but if you're not on X then you probably
should use the method you posted for getting an alias list from the
Finder's selection. I.E.
>
tell application "Finder"
>
try
>
set TheSelection to (the selection as alias list)
>
on error
>
set TheSelection to {the selection as alias}
>
end try
>
end tell
The following script works fine for me, but I can't get an alias list
from the Finder in OSX, so I had to do it this way.
tell application "Finder"
set slctd to selection
set alsLst to {}
repeat with foo in slctd
set the end of alsLst to foo as alias
end repeat
end tell
tell application "Eudora"
set msgRef to make new message at end of mailbox "out"
attach to message msgRef documents alsLst
end tell
HTH
Corny
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.