Re: Trying to get folder path of a Finder window (Applescript anyone?)
Re: Trying to get folder path of a Finder window (Applescript anyone?)
- Subject: Re: Trying to get folder path of a Finder window (Applescript anyone?)
- From: John Stiles <email@hidden>
- Date: Wed, 16 May 2007 07:56:48 -0700
Try this AppleScript for starters.
tell application "Finder"
repeat with n from 1 to number of windows
display dialog POSIX path of (target of window n as alias)
end repeat
end tell
(I'm no AppleScript guru but I have learned the zen of Google and I like
to experiment ;) )
Giovanni Donelli wrote:
Dear OS X Gurus,
I would like to get from the Finder the list of the windows
(folder) opened and their relative path.
is that possible? I think the solution probably would rely on
AppleScript, however I haven't been able to figure out if this is
possible, or not.
Any idea? any AppleScript master could advice?
Thank you,
Giovanni
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden