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
Microsoft recently released Silverlight 3. As most of you know, the silverlight installer checks if you’re using an Intel Mac before it allows you to continue the installation. If you did not configure well / did a vanilla install, the installer will halt and informs you that you are using a PPC machine even though [...]
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 [...]