Re: cocoa interact with finder
Re: cocoa interact with finder
- Subject: Re: cocoa interact with finder
- From: Mike Abdullah <email@hidden>
- Date: Fri, 20 Jan 2006 13:58:56 +0000
Yes, an applescript that gets the path of the selected file of the
frontmost window of the Finder is pretty easy to write. Using
NSAppleScript to run that script and get the result from it is pretty
easy as well.
Mike.
On 20 Jan 2006, at 11:26, Camillo Lugaresi wrote:
On 20/gen/06, at 08:42, Raphael wrote:
Hi,
is it possible to get from a cocoa application the selected finder
file or folder?
I mean, if the finder has only select a file (not open it) can I
see the file path string in a cocoa
application?
You can use AppleEvents or an AppleScript (which uses AEs under the
hood). The latter is probably easier.
Camillo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden