[Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

Ronald Oussoren ronaldoussoren at mac.com
Thu Feb 5 17:12:21 CET 2009


On 5 Feb, 2009, at 17:04, Bill Janssen wrote:

> Ronald Oussoren <ronaldoussoren at mac.com> wrote:
>
>
>> The dock icon should mean you're calling an API that requires access
>> to the window server. Does the daemon program work when you start it
>> without begin logged on to the console (that is, log in using an SSH
>> session without being logged on on the console)? If that doesn't  
>> work,
>> it  shouldn't work either with and without the LSUIElement key.
>
> Right.  But it also means that there are more things than appscript
> which can cause this.

Of course, there are various API's that cause this effect and  
appscript is not
the only user of those APIs.

To rephrase my question: can you start the daemon program without
being logged on to the console and check if it works at all (both with  
and
without the LSUIElement being set)?

That's something I cannot test with appscript because that can't work
without being logged on to the console as it needs to access other  
running
applications to work.

Ronald



More information about the Pythonmac-SIG mailing list