Created
March 10, 2013 14:34
-
-
Save signed8bit/5128796 to your computer and use it in GitHub Desktop.
An AppleScript to mount an AFP volume where your iTunes media lives followed by a delayed startup of iTunes once the volume is available.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Finder" | |
mount volume "afp://user:password@nas-server/Media" | |
repeat 3 times | |
delay 5 | |
if disk "Media" exists then | |
tell application "iTunes" | |
activate | |
end tell | |
exit repeat | |
end if | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save as an .app and add as a login item.