Re: AppleEvents from Cocoa?
Re: AppleEvents from Cocoa?
- Subject: Re: AppleEvents from Cocoa?
- From: email@hidden
- Date: Sat, 13 Apr 2002 15:37:00 +0200
On samedi, avril 13, 2002, at 02:41 , Andreas Monitzer wrote:
On Saturday, April 13, 2002, at 02:32 , email@hidden wrote:
I'm currently trying to send a Make Object visible AppleEvent to the
OS X Finder from a Preference Pane. I've been told to use the mast
recent MoreAppleEvents code.
The problem is that it adds 10 millions of lines of code (a few
hundreds in fact) to perform a simple task.
Is there not a pure Cocoa way to make a file/folder visible in the OS
X Finder?
Try -[NSWorkspace openFile:] on the folder.
Hum, after thinking a bit about this, it won't work since the Reveal
Item Finder event select the file and also makes it visible within its
parent folder (scrolling if necessary).
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.