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?
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!
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)