Create a desktop Connect to Server shortcut

Oct 29, '02 09:29:37AM

Contributed by: davec

Although you can hit Command-K to access the Connect to Server dialog box in the Finder, if you're not in the Finder, you need to first switch to it. This hint will create an application that can be stored on your desktop, in your dock, in DragThing, DropDrawers, etc., making Connect to Server accessible from anywhere without the need to first activate the Finder.

Open Script Editor (in your Utilities folder) and type in this program:

 tell application "Finder"
open location (choose URL showing File servers with editable URL)
end tell
Save it as an application on the desktop, or wherever. I even copied the "Network" icon from the left most finder column view pane and pasted it over the new app's icon, and named the app "Connect to Server".

Even more interesting, if you remove the "showing file servers" portion of the second line, then you get a new pop-up menu in the dialog. This pop-up menu lists all possible types of connections, which is pretty interesting in itself!

Comments (13)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20021029062937420