• 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
Mail.app help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail.app help


  • Subject: Mail.app help
  • From: Pat Stanford <email@hidden>
  • Date: Fri, 7 Nov 2008 22:22:49 -0800

I have a script that worked in Tiger that has broken in Leopard. Can anyone help me out on figuring out why?

I am trying to create new mail folders automatically. To get the right location I am trying to get the container of the folder I want to put the new folder in.

The paths are:

On My Mac
     PTS_Stuff
          !Projects
              Folder_1
              Folder_2
              etc.

I want to put a new folder into !Projects

This code works in Leopard to get the full path, but not since I upgraded to Leopard. In Leopard, it will not get a container of any folder nested deeper than PTS_Stuff.

tell application "Mail"
set MailContainer to name of container of mailbox "!Projects" as text
set FolderPath to MailContainer & "/!Projects/" & NewFolder as string
end tell

Thanks,
Pat

 _______________________________________________
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: Mail.app help
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: Apple Mail: changing subject & content of "reply", plus setting color of message in mailbox window
  • Next by Date: Re: Mail.app help
  • Previous by thread: Re: Apple Mail: changing subject & content of "reply", plus setting color of message in mailbox window
  • Next by thread: Re: Mail.app help
  • Index(es):
    • Date
    • Thread