Network Folders, or folders pointing to external drive always disappear in Mac OS X. It is a big problem when the shortcuts in Places don’t stay in the Places Sidebar on Mac OS X. This can be very frustrating because you use these shortcuts to be more efficient but every time you take the drive off you’re signing for spending minutes recreating your shortcuts again. A NIGHTMARE.
HERE IS THE UNIVERSAL SOLUTION in order to permanently add folders to Places in Sidebar on Mac OS. Creating a small software that will attempt to open the folder.
Here is the very simple procedure, do it for each folder or file you want to add to Places in Sidebar:
- Open Script Editor
- Copy / paste the following, and replace by the folder location you want to put in Sidebar :
- If you don’t know the folder location, right click on the folder and click on “Get info” and look then in “Where”
- Save the script as Application, somewhere on the local hard drive, NOT on the removable disk, not on a network drive or anything…
- Put the Application in the Sidebar
- Drop me a message in the comments if you are happy 😉
-- Script to open a location in the current finder window. You can set the desired location to be on a removable volume, or a disk drive, and then put the script into the sidebar as a means to access files on a removable volume from the sidebar.
set primary_item to POSIX file "/Volumes/EXTERNAL-HARD-DRIVE/WHATEVER"
tell application "Finder"
set folder of front window to primary_item
display dialog "The location could not be found"
Source: The article you just read is a clearer refinement of this article.