There's no default application to handle .rar file on Mac OS X.
You might want to try The Unarchiver. It can open many format besides rar files.
Then once you installed it, open its preferences and select all the file format you want him to manage.
This can be done, but you cannot hide just the dock per app. It will hide both the Dock and the Menu bar per app.
You just have to make a quick, simple edit to the plist file for the application. Check out this article from Mac OS X Hints:
To hack an app so that when it's active, the menubar and dock are hidden, you need to find its info.plist file. Control-click on the program in question, choose Show Package Contents from the pop-up menu, and then navigate into the Contents folder.
Once there, add the following to the file:
<key>LSUIPresentationMode</key>
<integer>4</integer>
Be sure that it goes in alphabetical order, otherwise it won't work (i.e. LSUIPresentationMode goes after LSMinimumSystemVersion but before NSAppleScriptEnabled). Save the file and enjoy.
You can change the value (in the example, it is 4) to 0 - 4. Apple's documentation has more details:
Value: 0
Normal mode. In this mode, all standard system UI elements are visible. This is the default value.
Value: 1
Content suppressed mode. In this mode, system UI elements in the content area of the screen are hidden. UI elements may show themselves automatically in response to mouse movements or other user activity. For example, the Dock may show itself when the mouse moves into the Dock’s auto-show region.
Value: 2
Content hidden mode. In this mode, system UI elements in the content area of the screen are hidden and do not automatically show themselves in response to mouse movements or user activity.
Value: 3
All hidden mode. In this mode, all UI elements are hidden, including the menu bar. Elements do not automatically show themselves in response to mouse movements or user activity.
Value: 4
All suppressed mode. In this mode, all UI elements are hidden, including the menu bar. UI elements may show themselves automatically in response to mouse movements or other user activity. This option is available only in Mac OS X 10.3 and later.
Best Answer
Mac OS X Applications, tend to be limited due to the UNIX “open” nature of the operating system. Contrary to Windows for example, where one could bury an entry into the Registry under any name, provided you’re given Admin privileges (which is very natural in Windows).
Under OS X, applications are forced to use dedicated locations for storing settings and preferences. ~/Library and /Library.
With that being said, this doesn’t stop some applications to use other mechanisms in conjunction with that.
I cannot name them all primary because I don’t know all of the existing ways, but I can tell you some common forms:
Serial Number / License Key: These are the typical. The program stores an “encrypted” copy of these values in its preferences (sometimes even unencrypted), usually located in:
The problem with these are obvious, the serials get published/shared/copied and you have no way to stop it. Some applications have a “blacklist” of serials that although perfectly formatted, are internally hardcoded to be bad.
Online Activation: Less common (and usually more annoying), these require the app to connect to an online host to “activate” or “validate” the license. This prevents a lot of fraud and usually ends with the application cracked by some genius, where the code that does the validation is simply modified to always return “ok” making the application believe that the internet stuff went ok. Read: Adobe Products.
In any case, the program has to store the value somewhere, and the usual locations apply.
Tied with Hardware ID This is common too, they extract your drive’s serial number and some other parameters (Network card MAC Address for example) and they create a serial number that checks for those. So even if you “copy” the license, the new machine won’t have the same values and it will fail. This is annoying because if your hard drive crashes and you boot from a backup, you’ll have to re-register.
RESOURCES
I assume you want to continue reading about this, so instead of believing me, follow these links: