Re: applescripting sub mailboxes in Mail
Re: applescripting sub mailboxes in Mail
- Subject: Re: applescripting sub mailboxes in Mail
- From: John Mitchell <email@hidden>
- Date: Sun, 08 Nov 2015 07:04:13 +1100
Scripters
I am trying to create a 3 hierarchy mail box
ie Bar>Dandy>Jim
tell application "Mail"
--tell account "On My Mac"
set mbox to make new mailbox with properties {name:"Bar"}
make new mailbox with properties {name:"Bar/Dandy"}
set selected mailboxes of message viewer 1 to {mailbox "Dandy" of mailbox "Bar"}
make new mailbox with properties {name:”Dandy/Jim”} - fails
make new mailbox at end of mailbox "Dandy" with properties {name:”Dandy/Jim”} - fails
make new mailbox with properties {name:”Bar/Dandy/Jim”} - fails
--end tell
end tell
Dany is correctly created, but Jim is not, for the above options
any advice?
regards
John
Email: email@hidden • Mob: +61 410 318 131
_______________________________________________
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