• 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: Andreas Monitzer <email@hidden>
  • Date: Sat, 13 Apr 2002 14:41:15 +0200

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.

Can we expect in the near future to be able to send an AppleEvent from Cocoa without having to code with the Carbon APIs?

It's already possible when using AppleScript Studio or private ObjC-APIs.

andy
--
DigiTunnel Public Beta released, offering full PPTP-support for Mac OS X!
http://www.gracion.com/vpn/
_______________________________________________
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: 
 >AppleEvents from Cocoa? (From: email@hidden)

  • Prev by Date: AppleEvents from Cocoa?
  • Next by Date: Re: Knowing file system changes?
  • Previous by thread: AppleEvents from Cocoa?
  • Next by thread: Re: AppleEvents from Cocoa?
  • Index(es):
    • Date
    • Thread