Re: IF Syntax
Re: IF Syntax
- Subject: Re: IF Syntax
- From: Emmanuel <email@hidden>
- Date: Fri, 4 Apr 2003 21:40:53 +0200
At 2:00 PM -0500 04/04/03, Dave Groover wrote:
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
This "subject" is an undefined variable. You mean something like:
------------------- untested
if field "subject" of message 1 is "alert" then
-------------------
In case you did not already, you may consider reading the official
AppleScript reference:
<
http://developer.apple.com/techpubs/macosx/Carbon/interapplicationcomm/AppleScript/AppleScriptLangGuide/index.html>
Emmanuel
_______________________________________________
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>) |
| >Re: IF Syntax (From: Dave Groover <email@hidden>) |