Hide REALbasic app icon from Mac Dock line

In this quick tutorial we will learn how to hide our REALbasic application icon from Mac Dock. The method to doing this is outside the REALbasic IDE, but it’s very easy to do (works with every app). Watch it, learn it, enjoy it!

Hide icon from Mac Dock application

First thing we must do before we start this tutorial is Building our REALbasic application. If it’s done then go to your compiled app folder and right click on icon. Now select Show Package Contents and go inside Contents folder. You should see there a file named Info.plist.

Hide app icon from Mac Dock

Copy the file Info.plist to your Desktop and change it permissions to read and write. You can do this by right clicking on it and selecting from the contextual menu Get Info. Now in Sharing & Permissions change access to Read and Write. If you like you can do this also by using a terminal command:

1
sudo chmod 464 /Desktop/REALbasic.app/Contents/Info.plist

Open Info.plist file from Desktop with your favorite Text Editor and add to end of dict some code. After making this change save the file.

1
2
<key>NSUIElement</key>
<string>1</string>

When it’s done replace the Info.plist (from Desktop) with the file available in Contents location /Desktop/REALbasic.app/Contents/Info.plist Now when you will run your application there will be no icon displayed in Dock. Hope you enjoy this tutorial and see you next time!

Author: Jakub Pawlak

I'm interested in all. Currently working on the development of TUTSPOLIS and I hope that in near feature the project will be successful.

Leave a Reply

Copyrights (c) TUTSPOLIS | Powered by Wordpress MU | Inspired at Elegant Themes designed by qbap (HTML5 & CSS3)