views:

56

answers:

1

I am trying to create an application with the only purpose to implement a Applescript dictionary, and extend Applescript. I have read of faceless applications (agents), but my application allows Applescript scripts to show some dialog boxes. What can I do to avoid my application icon appears in the dock when it is invoked by Applescript?

+3  A: 

Agent applications can show dialog boxes if they want to.

The Agent overview here mentions this.

To set it specify LSUIElement as 1 in your info.plist file.

Pat Wallace
I checked an utility I had installed in my Mac, and I notice it uses the same trick to not show an icon in the dock. I am not sure it can be called agent, but setting that property effectively works.
kiamlaluno