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).
Share
Categories
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
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 Permalink rate up rate down ReplyWe'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"
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 Permalink rate up rate down ReplyJust 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.
I absolutely love this program.
April 11 2008 at 4:15 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



5 Comments