Re: IF Syntax
Re: IF Syntax
- Subject: Re: IF Syntax
- From: Dave Groover <email@hidden>
- Date: Fri, 4 Apr 2003 14:00:30 -0500
continuing on my way... I was wondering what I am missing here. If a
message has a key indicator in it's subject line, here arbitrarily
decided to be the word "Alert", then I want to grab the subject, body
date and who it's from. Then set it to variables and port it for my
db to take in.
This dials and checks mail. But it errors on "can't get subject".
tell application "Internet Connect"
activate
connect
tell application "Eudora"
activate
connect
if subject is "alert" then
set {addressvar, subjectvar, datevar, bodyvar} to ,
{field "to", field "subject", field
"date", body}
After I figure this out I intend reading up on how to set this up as
a loop in case there is more than one message to flag.
Thanks for the next step in getting help help with this.
Dave
_______________________________________________
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: | |
| >IF Syntax (From: "Peter Nedeljkovich" <email@hidden>) |