• 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
Dock icon when running AppleScript in auxiliary executable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dock icon when running AppleScript in auxiliary executable


  • Subject: Dock icon when running AppleScript in auxiliary executable
  • From: "email@hidden" <email@hidden>
  • Date: Sat, 9 Aug 2008 21:00:07 +0100

Hello List

My app has the following structure:

1. A cocoa client GUI.
2. A foundation tool daemon.
3. A worker task.

The foundation daemon is normally launched by the client GUI.
The daemon subsequently generates a number of worker tasks.
The worker tasks execute AppleScripts using the OSA (essentially each task acts as a wrapper process for an AppleScript).
The daemon and the worker task both reside in the client's main bundle.

At present each worker task produces an icon in the dock whenever it runs an AppleScript. 
This is something I would wish to optionally prevent.

Why it does this is something that I I don't fully (or even partially) understand.
The icon seems to appear whenever the OSA componentInstance is allocated.

When calling OSAExecute I pass kOSAModeNeverInteract.
In general the executed AppleScripts do not require user interaction.

I know that LSBackGroundOnly and LSUIElement can be placed into the application info.plist but that won't help me in this case (I think).

Thanks

Jonathan



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Words of Bug in Leopard (Japanese environment)
  • Next by Date: Re: OOP AppleScript and self-initialization
  • Previous by thread: Kill Dock... On 10.5
  • Next by thread: RE: Dock icon when running AppleScript in auxiliary executable
  • Index(es):
    • Date
    • Thread