Mail.app help
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