Re: Print to PDF
Re: Print to PDF
- Subject: Re: Print to PDF
- From: Luther Fuller <email@hidden>
- Date: Tue, 10 Jan 2012 13:45:48 -0600
I tried this script ...
set mailPrefsPath to ((path to preferences from user domain) as text) & "com.apple.mail.plist" set saveLocAlias to (path to temporary items from user domain)
(POSIX path of saveLocAlias) tell application "System Events" set value of property list item "NSNavLastRootDirectory" of property list file mailPrefsPath to the result end tell
-- Mail will not see this change until the next launch
It seems to work, but I'm having problems getting Mail to reliably see the change. Sometimes "next launch" works and sometimes I have to try again.
|
_______________________________________________
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