LSUIElement

Devin Asay devin_asay at byu.edu
Mon Jun 4 19:20:21 EDT 2007


On Jun 4, 2007, at 4:19 PM, Brent Anderson wrote:

> Hello.
>
> On Mac OS X you can insert a plist entry for LSUIElement with a  
> string value of 1 to make it not have a dock icon. Revolution,  
> however, doesn't seem to respect this plist entry and it shows up  
> on the dock anyway. Any thoughts on keeping Revolution from showing  
> up in the dock or application switcher?

Brent,

Have no fear, it does work. :-) The issue is somewhat similar to the  
icon issue on Mac OS X, where the new icon doesn't show up unless you  
goose the app by zipping and unzipping it, opening Get Info and  
selecting and deleting the generic icon. Different people have  
different ways of fixing this. In the case of LSIElement, if you have  
ever launched your standalone *before* adding the LSUIElement node to  
the plist, then you add it and launch the standalone again, the  
change is not respected by the OS. Something about the application  
database or cache the OS keeps. Try this: make your standalone, and  
be sure to change the plist file before you ever launch it. Or, take  
your standalone to another OS X machine and launch it. You will see  
the desired effect. There may a better method for forcing the OS to  
see your app as a brand-new, never-run-before program, but one of  
these techniques always works for me.

Regards,

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list