Re: Mail.app script -- please test
Re: Mail.app script -- please test
- Subject: Re: Mail.app script -- please test
- From: David Durkee <email@hidden>
- Date: Sat, 9 Aug 2003 19:39:44 -0500
John,
The script works for me even with the commented out lines left
commented out. Using Mail 1.2.5 on OS X 10.2.6.
David
On Saturday, August 9, 2003, at 05:52 PM, John Delacour wrote:
In my experience is is impossible to set the properties of a message
viewer at the time it is created (make...with properties {})
I thought it was also impossible to set them later, and you'll
probably find that too if you run the script below as it is.
But I find that if I uncomment _either_ of the dashed lines, it is
possible.
Can someone confirm that this works with the released version of Mail?
tell app "Mail"
set _mailboxes to {drafts mailbox}
close the window of every message viewer
set _viewer to make message viewer
(******)
-- id of _viewer -- or ANY property
-- delay 1
(******)
set selected mailboxes of _viewer to _mailboxes
end
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.
--
David Durkee
email@hidden
<
http://ddurkee.homeip.net/>
_______________________________________________
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.