• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IF Syntax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: IF Syntax
      • From: Dave Groover <email@hidden>
References: 
 >IF Syntax (From: "Peter Nedeljkovich" <email@hidden>)
 >Re: IF Syntax (From: Dave Groover <email@hidden>)

  • Prev by Date: script mounting of remote shared volumes
  • Next by Date: Re: Finder legacy terms no longer compile
  • Previous by thread: Re: IF Syntax
  • Next by thread: Re: IF Syntax
  • Index(es):
    • Date
    • Thread