Skip to content

Instantly share code, notes, and snippets.

@hunner
Created November 14, 2011 18:45
Show Gist options
  • Save hunner/1364722 to your computer and use it in GitHub Desktop.
Save hunner/1364722 to your computer and use it in GitHub Desktop.
Attach
do shell script ("hdiutil attach -mountpoint ~/Documents/work ~/Documents/Work.sparsebundle")
tell application "Finder"
activate
make new Finder window
select Finder window 1
set target of Finder window 1 to disk "work"
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment