• 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: 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.

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

  • Prev by Date: script mounting of remote shared volumes
  • Next by Date: Re: Rules for first file in folder?
  • Previous by thread: Re: IF Syntax
  • Next by thread: Re: IF Syntax
  • Index(es):
    • Date
    • Thread