How to save a message in Eudora?
How to save a message in Eudora?
- Subject: How to save a message in Eudora?
- From: Charles Arthur <email@hidden>
- Date: Wed, 15 Oct 2003 12:20:30 +0100
Greetings. Eudora 5.2, OSX 10.2.
I want to save messages - just the text - to somewhere so I can operate on
them as part of a longer script.
Eudora has a save command; however, it doesn't seem to tell you where you
can save the message *to*. Without a destination, seems a bit pointless.
dictionary:
save: Save an object
save reference -- the composition message to save
Here's the script I've hacked up:
tell application "Eudora"
set m to a reference to message 0
set subj to field "Subject:" of message 0
set subj to characters 10 thru -1 of subj
--because otherwise you get a path that starts "Subject: " and the
colon could be bad news
set newfile to (((path to desktop) as string) & subj) as string
save m to newfile
end tell
I've tried all sorts of variations - save m to file newfile, etc etc. It
just doesn't like it.
Clues? I'm looking.
best
Charles
--
----------------------------
http://www.ukclimbing.com : 1100+ British crags, 350+ British climbing
walls - searchable by distance and anything else you care to think of -
with weather forecasts for every one, plus maps, articles, news and
features. And there's even a cool shop attached.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
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.