Re: myLoop: getting subject of messages in Mail.app
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.