• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fun with Eudora & AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Fun with Eudora & AppleScript (From: David Crowe <email@hidden>)

  • Prev by Date: image capture
  • Next by Date: How can I make sure fonts are included in script-made postscript (from Quark)?
  • Previous by thread: Fun with Eudora & AppleScript
  • Next by thread: Essential Sub-Routines v0300 not available?
  • Index(es):
    • Date
    • Thread