Re: Safari Download Folder?
Re: Safari Download Folder?
- Subject: Re: Safari Download Folder?
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 4 Mar 2009 13:55:59 -0500
On Wed, Mar 4, 2009 at 1:50 PM, Philip Aker <email@hidden> wrote:
> On 2009-03-04, at 10:26:40, Mark J. Reed wrote:
>> Both of those require knowing where Safari.app lives. If all I have
>> is (application "Safari"), what's the first step?
>
> set pp to POSIX path of (path to preferences)
> set ap to POSIX path of (path to application "Safari")
Ah, "path to application". I keep forgetting we have that now!
In that case, you can just do this to get the bundle id:
set bid to bundle id of (info for path to application "Safari")
--
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