• 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: myLoop: getting subject of messages in Mail.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: myLoop: getting subject of messages in Mail.app


  • Subject: Re: myLoop: getting subject of messages in Mail.app
  • From: John Delacour <email@hidden>
  • Date: Mon, 3 Mar 2003 23:09:01 +0000
  • Mac-eudora-version: 6.0a9

At 1:50 pm -0800 3/3/03, cricket wrote:

Perhaps someone can explain it better, but that's the gist of the problem. By separating out the 'set allMsg to all messages of front viewer', the allMsg variable is set to the evaluation of 'all messages of front message viewer', which is a list of message objects.

Just in case I complicated things by mentioning applications at all, here's a bit of plain Applescript:

set s to "abc"
get the first item of s's characters
--> "a"

or

the first item in the characters in "abc"
--> "a"--> "a"

I do not need to 'GET' the characters of s or coerce anything. But just to show that even Apple can get things right, here are two current examples:

tell app "TextEdit" to get the first item in the windows
--> window id 34089 of application "TextEdit"

tell app "System Events" to get the first item of the processes
--> application process "loginwindow" of application "System Events"

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.

References: 
 >Re: myLoop: getting subject of messages in Mail.app (From: cricket <email@hidden>)

  • Prev by Date: Re: myLoop: getting subject of messages in Mail.app
  • Next by Date: Re: scripting photoshop save layers as files
  • Previous by thread: Re: myLoop: getting subject of messages in Mail.app
  • Next by thread: Re: myLoop: getting subject of messages in Mail.app
  • Index(es):
    • Date
    • Thread