Re: Mail Scripting GUI
Re: Mail Scripting GUI
- Subject: Re: Mail Scripting GUI
- From: John Delacour <email@hidden>
- Date: Tue, 29 Jul 2003 11:22:51 +0100
- Mac-eudora-version: 6.0a29
At 4:22 pm +0800 29/7/03, email@hidden wrote:
I have ammended the script but has not tried it. Check if it works.
I would like to know too. ;)
What's the point of posting a script you haven't tried?!
Your syntax does not work in my version of Mail. This does -- I've
tried it! -- BUT it will only work if the message viewer already
contains the messages you want to select, because, like many things
in Mail's aete, it's broken.
tell application "Mail"
activate
set ls to messages of mailbox "In" of account 1 whose read status is false
repeat with m in ls
delay 1
set selected messages in message viewer 1 to {m}
end repeat
end tell
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.