scripting 'mail' from OS X
scripting 'mail' from OS X
- Subject: scripting 'mail' from OS X
- From: email@hidden (Gerd)
- Date: Sun, 17 Mar 2002 21:09:23 +0100
Hallo,
i am trying for example to delete messages in a folder (mailbox).
In Claris Emailer following worked fine:
tell application "Claris Emailer"
activate
open folder "backmails"
open first message of folder "backmails"
get content of first message of folder "backmails"
set y to result
delete first message of folder "backmails"
close front window
end tell
But in 'mail' i did not find out how it works. I allways get error
messages, for example:
mailbox 'backmail' does not understand the open message
or something like
scripterror no.3
Are there anywhere samplescripts how to work with 'mail' ?
Thanks for your help
Gerd
_______________________________________________
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.