Software > AppleScript

AppleScript Projects


Open Terminal Here
Description

This is a Toolbar Script for Mac OS X.
When you click its icon in the toolbar of a given directory window, it opens up a new Terminal session in that directory, i.e. it will cd there.
It's also possible to drop one or more folders or other items onto the icon. The script will open up a Terminal session in each dropped directory, and for for each non-directory item a session in the item's respective parent directory.

Download and unstuff it, then put it where it makes sense, e.g. the Scripts folder in your personal Library folder. Then drag it to the button bar of a Finder window and you're all set (You might have to hold down the Command key or wiggle the icon between the existing ones during the drag.)

Starting with Mac OS X 10.5, Terminal supports tabs. See this and this tip if you would prefer a new tab instead of a new window.

An alternative which keeps a process running in the background and also includes a contextual menu item is here.

Another alternative is ShellHere by John Daniel.

Here is an alternate icon that matches the Mac OS X 10.5/Leopard look.

Platform Mac OS X 10.1 and up
Download OpenTerminalHere.app.zip

Old, outdated stuff

Switch AirPort Connection 1.0
Description This script switches your AirPort network connection. It takes the last name of its own filename and uses that as the name of the wireless network to join. Next it tries to look up the password for this network name in the Keychain, and finally it switches the connection.

Duplicate the script several times and change the last word of the filenames to all the names of the AirPort networks to which you have access to. You could then use these with the Location Manager's "Auto-Open Items" module to switch your connection whenever you switch locations.
Platform MacOS
Download switch-airport-1.0.sit.hqx

 

Change IE Search to Google 1.0
Description This script allows you to change the search URL in Internet Explorer. After it is changed, automatic search queries will be sent to the new search engine.

You can search by typing "?" or "search" followed by your search terms into the URL text field at the top of the browser window.
The "Tanaka's osax" Scripting Addition is required. Download it, unstuff and drop onto the closed "System Folder".

Then just drag and drop Internet Explorer's program icon onto the icon of this script.
Platform MacOS
Download change-ie-search-1.0.sit.hqx
6. April 2009