AppleScript utilities
Here are a few simple AppleScripts I’ve written to make my life a little bit easier. They are not saved as “Run Only,” so you can open them up and poke at the code inside all you want. These are posted mostly so people can learn from them; untouched, they won’t be much use as they are written for me. Feel free to customize them for your own purposes. If you want to rerelease your own scripts, some credit is all I ask. The scripts include:
- Startup: A startup script I wrote to launch my most frequently used applications, depending on a few different things (whether I’m connected to the internet, which external hard drives are connected to my computer, etc.).
- Reinitialize: A very basic script that kills the Finder, Dock, and SystemUIServer. A nice way to reinitialize the core components of the system without logging out and back in. It was more fun to make than it is to use.
- Restart into Windows: My most useful script. Sets my Windows drive as the default startup disk for one restart only, allowing me to switch into Windows and then go back to Mac OS X the next time I restart without having to give it a second thought.