Re: applescripting sub mailboxes in Mail
Re: applescripting sub mailboxes in Mail
- Subject: Re: applescripting sub mailboxes in Mail
- From: Christopher Stone <email@hidden>
- Date: Tue, 17 Nov 2015 15:26:06 -0600
Hey Brian,
On my El Capitan 10.11.1 system these all work, except the Tier06 one.
------------------------------------------------------------------------------------------- tell application "Mail" make new mailbox with properties {name:"Year 2016/A/"} # WORKS make new mailbox with properties {name:"Year 2016/A/01/"} # WORKS make new mailbox with properties {name:"Year 2016/A/02/"} # WORKS make new mailbox with properties {name:"Year 2016/A/02/Tier04"} # WORKS make new mailbox with properties {name:"Year 2016/B/Tier03/Tier04/Tier05"} # WORKS try make new mailbox with properties {name:"Year 2016/B/Tier03/Tier04/Tier05/Tier06"} # FAILS end try make new mailbox with properties {name:"Year 2016/A/03/"} # WORKS end tell -------------------------------------------------------------------------------------------
|
_______________________________________________
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