Re: Safari Download Folder?
Re: Safari Download Folder?
- Subject: Re: Safari Download Folder?
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 4 Mar 2009 12:40:40 -0500
It's a shame you have to somehow find out that application "Safari"
stores its preferences in "com.apple.Safari.plist" for that to work.
It seems like there ought to be a way of asking an application about
its preference settings...
On Wed, Mar 4, 2009 at 12:33 PM, Joe <email@hidden> wrote:
> At 5:18 PM +0000 3/4/09, Dave wrote:
>>I need to be able to get the path specified in the "Downloads Folder" Field in the Safari Prefs Window.
>
> set prefsfile to (path to preferences as text) & "com.apple.Safari.plist"
> tell application "System Events"
> set dlfold to get value of property list item "DownloadsPath" of property list file prefsfile
> activate
> display dialog dlfold buttons {"OK"} default button 1
> end tell
>
> Joe
>
> _______________________________________________
> 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
>
--
Mark J. Reed <email@hidden>
_______________________________________________
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