New topic: Hiding Dock icon
<http://forums.realsoftware.com/viewtopic.php?t=45215> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message Gavin Post subject: Hiding Dock iconPosted: Sun Sep 02, 2012 2:26 pm Joined: Fri Dec 09, 2011 6:27 am Posts: 25 My app is a NSMenuItem item app and I have set LSUIElement in my info.plist so that the Dock icon is hidden. So far, so good. But I want to allow the Dock icon to show under certain circumstances (like the user setting preferences). I can't write to the bundle to change LSUIElement as it's a Mac App Store app. I understand that TransformProcessType (http://cocoadev.com/wiki/TransformProcessType) is the way to do that - is there a way to use this from MacOSLib or is there a Declare I can use? Thank you very much if you can help with this one... Top MonkeybreadSoftware Post subject: Re: Hiding Dock iconPosted: Sun Sep 02, 2012 2:34 pm Joined: Wed May 10, 2006 2:42 pm Posts: 2668 Location: Germany If you use our plugins, you could call ProcessMBS.TransformToForegroundApplication function. or you the declare. Greetings Christian _________________ See you in Orlando, Florida for Real World 2012 More details and registration here: http://www.realsoftware.com/community/realworld.php Top Gavin Post subject: Re: Hiding Dock iconPosted: Sun Sep 02, 2012 2:52 pm Joined: Fri Dec 09, 2011 6:27 am Posts: 25 I'm sure this could be done with a simple Declare but I can't figure it out. I don't have your plugins Christian - if I did, is there a way to transform it back into a background/helper app after I've used ProcessMBS.TransformToForegroundApplication? Top MonkeybreadSoftware Post subject: Re: Hiding Dock iconPosted: Sun Sep 02, 2012 3:26 pm Joined: Wed May 10, 2006 2:42 pm Posts: 2668 Location: Germany Only quit/restart of the app. Greetings Christian _________________ See you in Orlando, Florida for Real World 2012 More details and registration here: http://www.realsoftware.com/community/realworld.php Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml rbforumnotifier@monkeybreadsoftware.de