Re: Can't Delete Mailbox
Re: Can't Delete Mailbox
- Subject: Re: Can't Delete Mailbox
- From: Yvan KOENIG <email@hidden>
- Date: Sun, 30 May 2010 22:07:01 +0200
Le 30 mai 2010 à 22:01, John MacMullin a écrit : In the editor, and in an NSApplescript, the following:
tell application "Mail" if (exists mailbox "Email Folders/1234" of application "Mail") then delete mailbox "Email Folders/1234" of application "Mail" else set x to 1 end if end tell
produces:
theError :{ NSAppleScriptErrorAppName = Mail; NSAppleScriptErrorBriefMessage = "Can\U2019t get mailbox \"Email Folders/1234\"."; NSAppleScriptErrorMessage = "Mail got an error: Can\U2019t get mailbox \"Email Folders/1234\"."; NSAppleScriptErrorNumber = "-1728"; NSAppleScriptErrorRange = "NSRange: {22, 98}"; }
May I ask what is a NSApplescript ?
Yvan KOENIG (VALLAURIS, France) dimanche 30 mai 2010 22:06:34
|
_______________________________________________
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