Created
June 13, 2015 16:44
-
-
Save arirusso/65fc098455afb6b8be3d to your computer and use it in GitHub Desktop.
Open Ableton Live project from CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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