Re: Faceless background app that uses NSAppleScript

2008-10-16 Thread has
Scott Ribe wrote: I need to write an app whose purpose is to drive other apps, using NSAppleScript. No UI is needed. But I'm unclear on what kind of environment needs to be set up in order for NSAppleScript to work. I suspect it needs at least NSRunLoop event processing; I wonder if it migh

Re: Faceless background app that uses NSAppleScript

2008-10-16 Thread jason . coco
Ribe To: Jason Coco Cc: Cocoa-dev Sent: Oct 16, 2008 13:28 Subject: Re: Faceless background app that uses NSAppleScript > Add the LSUIElement key to the Info.plist and it will launch without a > dock icon or a menu. Aha, it didn't click with me that the application could be a complete

Re: Faceless background app that uses NSAppleScript

2008-10-16 Thread Scott Ribe
> Add the LSUIElement key to the Info.plist and it will launch without a > dock icon or a menu. Aha, it didn't click with me that the application could be a complete normal Cocoa app and that specifying faceless in the plist would simply hide it. I've done normal Cocoa apps. I've done UNIXy serve

Re: Faceless background app that uses NSAppleScript

2008-10-16 Thread Jason Coco
On Oct 16, 2008, at 13:15 , Scott Ribe wrote: I need to write an app whose purpose is to drive other apps, using NSAppleScript. No UI is needed. But I'm unclear on what kind of environment needs to be set up in order for NSAppleScript to work. I suspect it needs at least NSRunLoop event pr

Re: Faceless background app that uses NSAppleScript

2008-10-16 Thread Stephen J. Butler
On Thu, Oct 16, 2008 at 12:15 PM, Scott Ribe <[EMAIL PROTECTED]> wrote: > And if it's too much of a pain in the neck, I'll just live with what I > already know how to do easily: a "GUI" that consists of a status window and > a "Quit" menu item ;-) Look into LSUIElement and LSBackgroundOnly. One of