Re: Scripting Apple Mail to "Go On/Offline
Re: Scripting Apple Mail to "Go On/Offline
- Subject: Re: Scripting Apple Mail to "Go On/Offline
- From: Michelle Steiner <email@hidden>
- Date: Wed, 14 May 2008 06:56:06 -0700
On May 14, 2008, at 6:43 AM, W. R. Wing wrote: I want to be able to leave Apple Mail running, but suspend its checking and sending mail, which is what the Go Online and Go Offline menu commands do.
This will achieve the same effect:
tell application "Mail" repeat with thisAccount in accounts set enabled of thisAccount to not enabled of thisAccount end repeat end tell
-- Michelle
-- How many dyslexics does it change to take a light bulb?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden