Applescript and Mail
Applescript and Mail
- Subject: Applescript and Mail
- From: Matteo Lovatti <email@hidden>
- Date: Tue, 02 Sep 2003 09:24:55 +0200
Hi everybody! My name's Matteo from Italy and i'm new to the list. I've just started writing my first scripts but
i'm already hang in this problem. I want to write a Mail script that reads the content in the message subject line and assign the last word of it to a variable. Since now i wrote this two lines
tell application "Mail"
set password to (last word in message subject) as text
end tell
but when running it i get the error "NSCannotCreateScriptCommandError" on the word subject.
Can u please help me correct it ??
Thanks a lot in advance.
Matteo Lovatti
------------
iChat: email@hidden
_______________________________________________
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.