Dave Keck wrote: > That seems like a silly requirement for UI interaction... > > It seems you can get around it by making your app bundled and setting > the LSUIElement key in your Info.plist, though.
Or use TransformProcessType to elevate your Unix style executable to GUI status: OSStatus err = 0; ProcessSerialNumber psn = {0, kCurrentProcess}; err = TransformProcessType(& psn, kProcessTransformToForegroundApplication); (This is what rb-appscript calls the first time a standard GUI-less ruby process tries to display a Standard Additions dialog.) HTH has -- Control AppleScriptable applications from Python, Ruby and ObjC: http://appscript.sourceforge.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com