Re: File path of a file
Re: File path of a file
- Subject: Re: File path of a file
- From: Stan Cleveland <email@hidden>
- Date: Fri, 03 Sep 2010 13:39:45 -0700
On Sep 3, 2010, at 1:24 PM, Ripka, Herb (RDA Milwaukee) wrote:
> Is there an Applescript that will generate the file path of one file that has been selected?
>
> For example:
> Macintosh HD> Library> Application Support> Adobe> Color> Settings> Name of File
Hi Herb,
How about this:
tell application "Finder"
set colonPath to selection as text
-- or
set posixPath to POSIX path of (selection as text)
end tell
HTH,
Stan C.
_______________________________________________
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