Unhide the Library folder in Finder – AppleScript

By default the ‘Library’ folder is a hidden folder in OS X Finder. However, if you need temporary (GUI) access you can use this simple AppleScript below to remove the ‘hidden’ flag from the folder.

tell application "System Events"
	set libvis to (get visible of folder "~/Library")
end tell

if libvis = false then --~/Library is currently invisible
	tell application "System Events" to set visible of folder "~/Library/" to true
else --~/Library is visible
	tell application "System Events" to set visible of folder "~/Library/" to false
end if

This script could also be easily amended to show and hide any folder of your choice, simply by replacing the ~/Library/ with the path of the folder you’d like to toggle.

Read More

Unhide the Library Menu icon – OS X Mountain Lion

By default the library menu option in the go menu is hidden. Although I’ve never quite understood why it needs hiding, this quick tip will show you how to unhide it with just a quick keyboard click.

  1. Make sure you have a finder window active and focused
  2. Click on the Go menu at the top of the screen
  3. Press and hold the ‘Option/Alt’ key on your Mac’s keyboard
  4. The library icon should now appear. Upon releasing the keyboard key the icon will disappear again

Read More

Associate your Twitter account in Mountain Lion

Twitter Logo

One of Mountain Lion’s most talked about feature is the introduction of the tight social integration with the 140 character site ‘Twitter”. Unless you’re like me and spent the first few days of using Mountain Lion wandering around the system preferences you may find it difficult to locate a position where you type in your twitter credentials.

The following blog post hopes to rectify that, it may not seem immediately obvious that you have to enter your details and send them as your email address and calendar contacts in the system preferences pane.

First of all you need to load up System Preferences, to do this open a new Finder window, and navigate to your Applications folder, once you are there, you should see an icon which looks like a cog, and is labelled System Preferences. Double click on this and the System Preferences pane should appear.

Now under the heading of ‘Internet & Wireless’ click on the icon highlighted below:

System Preferences - Mail, Contacts & Calendars

In the pane on the right hand side you will see a list of all the account types Mountain Lion supports by default. Some of which have been migrated over from Lion. However most are new.

Mail, Contacts & Calendars

From the list select the Twitter icon, and enter your username and password in the boxes provided:

Mountain Lion Twitter username and Password box

Once done your twitter account will become associated with your Mountain Lion user account, and you will be able to do things like tweet direct from the ‘sharing’ button in apps such as Safari:

It really is as simple as that! So happy tweeting readers… 🙂

Read More

Disable spotlight indexing – OS X Lion and Mountain Lion

spotlight iconMac OS X Spotlight search is a powerful beast, returning all types of search results in seconds. However, if you don’t use it to launch apps, or find files then it can take up precious CPU cycles for no good reason.

As with all features such as this, if you don’t use it or use alternatives such as QuickSilver then switch it off. Doing so will prevent Spotlight index service from indexing the drives on your machine, thus meaning it will return no results when used.

To switch off the indexing open a Terminal window and type:

NB: You will be prompted to enter your admin password.

If you change your mind about Spotlight, and decide to give it another try, then it’s just as easy to switch back on as it was to switch off.

Again, in a terminal window type the following:

NB: You will be prompted to enter your admin password.

Read More