Skip to content

Instantly share code, notes, and snippets.

@arirusso
Created June 13, 2015 16:44
Show Gist options
  • Save arirusso/65fc098455afb6b8be3d to your computer and use it in GitHub Desktop.
Save arirusso/65fc098455afb6b8be3d to your computer and use it in GitHub Desktop.
Open Ableton Live project from CLI
--- osascript open_ableton_project.scpt [project name]
on run argv
tell application "Finder"
--- get current directory
set parentpath to POSIX path of (parent of (path to me) as text)
end tell
tell application "Ableton Live 9 Suite"
open (POSIX path of parentpath) & "assets/ableton/" & item 1 of argv & " Project/" & item 1 of argv & ".als"
end tell
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment