Skip to Content

ExpanDrive gets AppleScript support

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).



Categories

Software Cool tools

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...
 

Add a Comment

*0 / 3000 Character Maximum

5 Comments

Filter by:
Jon

You can use MacFUSE and sshfs to mount ssh as a filesystem, but its free and open source. =)

April 12 2008 at 11:05 AM Report abuse rate up rate down Reply
Jon Shea

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"

April 11 2008 at 6:47 PM Report abuse rate up rate down Reply
shiznit0587

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!

April 11 2008 at 5:22 PM Report abuse rate up rate down Reply
1 reply to shiznit0587's comment
dbr

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.

April 12 2008 at 3:20 AM Report abuse rate up rate down Reply
francol

I absolutely love this program.

April 11 2008 at 4:15 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.