tell application “Finder”
if exists disk “Shared_Vol” then
else
mount volume “afp://user@myserver.com/Shared_Vol”
end if
if exists disk “input” then
else
mount volume “smb://user:passw0rd@mywindowsbox.com/input”
end if
end tell
To run it from command line or crontab:
osascript theAppleScript.scpt
Apple just released Aperture 3 and I’m salivating all over it! There are tools that I would love to use in Photoshop but it’s just a hassle to switch between Aperture and Photoshop that I just gave up about it. Now, it’s built into Aperture! Wooooot!
Found this tip over at macosxhints.com and also tlrobinson.net to be very useful. I don’t know how many times I’ve always open a new terminal with cmd-n and slowly cd into the current directory of the other terminal window.
However, both guides had something lacking from each other. The guide from macosxhints.com can’t be completed because I can’t [...]