Faceless App not activating anymore! Why?

I’ve a faceless app (uses LSUIElement) that used to activate and to show a window when double-clicked in the finder.

Now re-built in Tiger’s xCode it doesn’t do anything when double-clicking its icon in the finder WHILE it is running.
It doesn’t even ACTIVATE!
(I added a log statement in the “on activated” handler to check - but this log doesn’t appear in the log)

Doesn’t LSUIElement support activation via Finder anymore? :cry:
Is there any work-around?

Vince

Ps:
Activating it via an external script works:
activate application “faceless”

I’m seeing the same behavior on my faceless app (LSUIElement 1) in 10.4 as well. What’s worse, if the app is hidden and I send an external command to the app to activate, it quits!

Jon

But why is Apple hackin in their own guidelines?
Apple says about LSUIElement apps that “they can come to the foreground to present a user interface if desired” in their developer documentation.

Is there any alternative? Was LSUIElement substituted by another PList Key?

I have to say that the changements of Tiger are very bad documented! There seems to be NO definite list of changement (Applescript or in general)

Thanx so far
Vince

“LSUIElement
If this key is set to “1”, Launch Services runs the application as an agent application. Agent applications do not appear in the Dock or in the Force Quit window. Although they typically run as background applications, they can come to the foreground to present a user interface if desired. A click on a window belonging to an agent application brings that application forward to handle events.”
Source:
http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Concepts/PListKeys.html#//apple_ref/doc/uid/20001431-108256-TPXREF136

Browser: Safari 412
Operating System: Other