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

Re: Entourage -> rule -> attachments


  • Subject: Re: Entourage -> rule -> attachments
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 06 Nov 2003 03:24:54 -0800

On 11/6/03 3:01 AM, I wrote:

> If you had said:
>
> set theAttachments to attachments of theMsg
>
> you would have got a different result, 'currMsg' - a rather foolish name
> for a list (plural), if you ask me - was set to 'current messages' - the
> whole list. Then you used it to mean the single item 1. I'd suggest
> 'currMsgs' for the list so you can keep track.


That sounds awfully stuffy of me. I forgot to insert a smiley after "rather
foolish". ;-)

Actually, I get around this possibility of confusion of the single item list
for 'current messages' when it means 'message filtered by a rule' with the
message itself - by simply leaving out any variable for the list and doing
it all in one line:

set theMsg to item 1 of (get current messages)

You never need to refer to the list that way. You _do_ need the explicit
'get' for 'current messages' and for 'selection' (the only two properties
anywhere in Entourage where that's the case).

--
Paul Berkowitz
_______________________________________________
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.

References: 
 >Re: Entourage -> rule -> attachments (From: julifos <email@hidden>)

  • Prev by Date: Re: Entourage -> rule -> attachments
  • Next by Date: Re: Entourage -> rule -> attachments [SOLVED]
  • Previous by thread: Re: Entourage -> rule -> attachments
  • Next by thread: Re: Entourage -> rule -> attachments [SOLVED]
  • Index(es):
    • Date
    • Thread