Re: System Events and Mail
Re: System Events and Mail
- Subject: Re: System Events and Mail
- From: cricket <email@hidden>
- Date: Fri, 27 Dec 2002 16:52:38 -0800
On Wednesday, December 25, 2002, at 8:33 PM, Jon Rosen wrote:
I'm trying to use the new System Events, but it seems to fail at the
simplest of tasks. The following script:
tell application "System Events"
tell process "Mail"
click menu item "Get New Mail" of menu "Mailbox" of menu bar 1
end tell
end tell
On the off chance that you didn't know this already, you can accomplish
this much more easily with this command:
tell app "Mail"
check for new mail
end tell
- cricket
----->
Software Entomologist Mail for Mac OS X
http://www.apple.com/macosx/jaguar/mail.html
---------->
Standing too soon, shoulders high in the room
_______________________________________________
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.