• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleEvents from Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleEvents from Cocoa?


  • Subject: Re: AppleEvents from Cocoa?
  • From: Jim Correia <email@hidden>
  • Date: Sat, 13 Apr 2002 10:09:10 -0400

On Saturday, April 13, 2002, at 09:37 AM, email@hidden wrote:

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).

But

NSWorkspace

- (BOOL)selectFile:(NSString *)fullPath inFileViewerRootedAtPath:(NSString *)rootFullpath;

is documented as having the desired outcome.

Jim
_______________________________________________
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.

  • Follow-Ups:
    • Re: AppleEvents from Cocoa?
      • From: email@hidden
References: 
 >Re: AppleEvents from Cocoa? (From: email@hidden)

  • Prev by Date: Re: Knowing file system changes?
  • Next by Date: [OT] OpenUp (was Re: How to do "mkdir -p"?)
  • Previous by thread: Re: AppleEvents from Cocoa?
  • Next by thread: Re: AppleEvents from Cocoa?
  • Index(es):
    • Date
    • Thread