• 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
Entourage -> rule -> attachments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Entourage -> rule -> attachments


  • Subject: Entourage -> rule -> attachments
  • From: julifos <email@hidden>
  • Date: Tue, 04 Nov 2003 17:32:12 +0100

Hi all!

I'm working in a script for Entourage, attached to a rule, where I need work
with attachments, but seems that they doesn't exist when the script is fired
by an incoming message. The rule is as follow:

IF
if subject is "x" then

THEN
run applescript "x"

And applescript "x" contains this code:

########################
tell app "Entourage"
set msgs to (current messages)
set msg to item 1 of msgs
set msgAttachments to attachments of msg

repeat with i in msgAttachments
display dialog (name of i)
end repeat
end tell
########################

And nothing happens when the message *has* attachments.

So, seems that Entourage fires the "Run AppleScript" event before the
message was entirely downloaded, and it owns all its properties except for
attachments? Do you know a workaround for this, so "applescript x" can see
the attachments?

jj
_______________________________________________
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 -> rule -> attachments
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Quark 6 affects on AppleScript
  • Next by Date: Re: Quark 6 affects on AppleScript
  • Previous by thread: Re: Quark 6 affects on AppleScript
  • Next by thread: Re: Entourage -> rule -> attachments
  • Index(es):
    • Date
    • Thread