• 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: Christopher Stone <email@hidden>
  • Date: Sun, 15 Nov 2015 00:23:29 -0600

Hey Folks,

Okay, I'm confused.

As I remember this failed when I tested it the first time, but it now works for me:

-------------------------------------------------------------------------------------------
# Works for me...
tell application "Mail"
  make new mailbox with properties {name:"Bar/Dandy/Jim"} -- Failed according to John Mitchell
end tell
-------------------------------------------------------------------------------------------

I tested this sometime before that, and it worked.  (After Brian's post about the response from Apple support.)

-------------------------------------------------------------------------------------------
tell application "Mail"
  make new mailbox at beginning with properties {name:"Testing Mailboxes/2015/01/02/03/04/Last Test Mailbox"}
end tell
-------------------------------------------------------------------------------------------

This also works.

-------------------------------------------------------------------------------------------
# Works for me.
tell application "Mail"
  make new mailbox with properties {name:"Testing Mailboxes/2015/01/02/03/04/Last Test Mailbox"}
  make new mailbox with properties {name:"Testing Mailboxes/2016/01/02/03/04/Last Test Mailbox"}
end tell
-------------------------------------------------------------------------------------------

So, what the hell is different?

--
Best Regards,
Chris

 _______________________________________________
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

  • Follow-Ups:
    • Re: applescripting sub mailboxes in Mail
      • From: Brian Christmas <email@hidden>
References: 
 >Fwd: applescripting sub mailboxes in Mail (From: Brian Christmas <email@hidden>)
 >Re: applescripting sub mailboxes in Mail (From: Christopher Stone <email@hidden>)
 >Re: applescripting sub mailboxes in Mail (From: Christopher Stone <email@hidden>)
 >Re: applescripting sub mailboxes in Mail (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Store Script Problem
  • Next by Date: Re: applescripting sub mailboxes in Mail
  • Previous by thread: Re: applescripting sub mailboxes in Mail
  • Next by thread: Re: applescripting sub mailboxes in Mail
  • Index(es):
    • Date
    • Thread