• 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: Entourage: Using AppleScript with Rules?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entourage: Using AppleScript with Rules?


  • Subject: Re: Entourage: Using AppleScript with Rules?
  • From: Jason Bourque <email@hidden>
  • Date: Tue, 22 Jul 2003 17:26:03 -0400

Hello,

I must of asked the wrong question. I know how to set up rules.

How does the applescript know to target the message handled by the rule?

Does the script I included work, it doesn't seem so to me.


tell application "Microsoft Entourage"

-- Get Message
set vMsg to item 1 of (get current messages)

tell vMsg
set vSubject to subject
end tell

end tell

display dialog vSubject

Thanks,

Jason


On 7/22/03 7:45 AM, "Matthew Smith" <email@hidden> wrote:

> on 22/07/2003 20:50, Jason Bourque at email@hidden wrote:
>
>> How does the script target the incoming emails when ran from a script?
>>
>>
>>
>> I tried : But it doesn't work.
>>
>>
>>
>> tell application "Microsoft Entourage"
>>
>> -- Get Message
>> set vMsg to item 1 of (get current messages)
>>
>> tell vMsg
>> set vsenderInfo to sender as list
>> set vSenderAddress to item 1 of vsenderInfo
>> set vSenderName to item 2 of vsenderInfo
>> set vSubject to subject
>> set vContent to content
>> set vTimeRecieved to time received as string
>> end tell
>>
>> end tell
>
> You need to run this script as part of a rule. You set the criteria for
> which messages the script will run on as part of the rule, with the action
> being to run the script.
>
> Look at Rules in the Tools menu.
_______________________________________________
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: Entourage: Using AppleScript with Rules?
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Entourage: Using AppleScript with Rules? (From: Matthew Smith <email@hidden>)

  • Prev by Date: Re: Newbie detail
  • Next by Date: Re: Question about Script Editor
  • Previous by thread: Re: Entourage: Using AppleScript with Rules?
  • Next by thread: Re: Entourage: Using AppleScript with Rules?
  • Index(es):
    • Date
    • Thread