• 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: John Delacour <email@hidden>
  • Date: Fri, 4 Apr 2003 23:29:11 +0100
  • Mac-eudora-version: 6.0a14

At 2:00 pm -0500 4/4/03, Dave Groover wrote:

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.

What is the subject of application "Eudora" ?!

Why do you need to tell Internet Connect to connect and then tell Eudora to connect?

What exactly are you trying to do?

JD
_______________________________________________
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: Print to PDF under OS X and 9.2
  • Next by Date: Re: Finder legacy terms no longer compile
  • Previous by thread: Re: Eudora in the stone age? (was IF Syntax)
  • Next by thread: Re: IF Syntax
  • Index(es):
    • Date
    • Thread