Version 1.1 of ExpanDrive, the utility we reported on earlier that gives you SSH/SFTP server access that's transparent to the OS, hit the streets today. In addition to features like "Reconnect at Login" and several interface/usability tweaks, it now supports AppleScript.
The AppleScript library is simple, providing identity elements for each drive, and 2 commands: connect and eject. Nothing earth-shattering, but it's even better at workflow integration and automation now. A little code, and...
tell application "ExpanDrive"
repeat with aDrive in drives
connect aDrive
display dialog "Connected: " & server of aDrive
end repeat
end tell
Set it up with ThisService and you've got hotkey mountable/unmountable servers! If you haven't checked it out yet, grab the free demo ($29 to purchase).













Reader Comments (Page 1 of 1)
4-11-2008 @ 4:15PM
francol said...
I absolutely love this program.
Reply
4-11-2008 @ 5:23PM
Shiznit said...
Has anyone thought about / worked on getting this to somehow integrate with quicksilver? I'd love to be able to just type the server name and have it mount on its own. If it's been worked on, a link would be extremely helpful. Thanks for the article TUAW!
Reply
4-12-2008 @ 3:21AM
dbr said...
Just save an applescript as "myservername.applescript", shove it in Home/Library/Scripts/ and refresh quicksilver (Cmd+R when the bezel is up)
Then you should be able to type ctrl+space,myservername[return] and it'll run the script.
I do a similar thing to launch a few iTerm session I always connect to.
4-11-2008 @ 6:49PM
Jon Shea said...
We're working on the AppleScript documentation right now, which you can find at http://www.magnetk.com/support/expandrive/scripting
Both the 'connect' and 'eject' command in AppleScript support lists of drives, so you can say simply
connect every drive
The connect command also accepts a text argument, so you can say:
connect "server.com"
Reply
4-12-2008 @ 11:06AM
Jon said...
You can use MacFUSE and sshfs to mount ssh as a filesystem, but its free and open source. =)
Reply