• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: applescripting sub mailboxes in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Please Turn on Accessibility from the Control Panel?
  • Next by Date: launch behavior
  • Previous by thread: Re: Please Turn on Accessibility from the Control Panel?
  • Next by thread: Fwd: applescripting sub mailboxes in Mail
  • Index(es):
    • Date
    • Thread