Open Live Files with Apple Script

Is it possible to open Life Files with an Apple Script?

If Live is scriptable, how can i find out which commands are supported?



haQ0YnBsEN8PTe 3 years ago | 0 comments

2 answers

  • esaruoho
    2 answers
    2 votes received
    1 vote

    You could always just send keyshortcuts to Ableton Live via AppleScript.


    tell application "YourApp" to activate 

    tell application "System Events"

    tell process "YourApp" to keystroke "y" using command down 

    -- tell process "YourApp" to key code 36 -- this is the return/enter key

    end tell

    then run.
    2 years ago | 0 comments
  • patrickstinson
    1 answer
    1 vote received
    1 vote

    on is_running(appName)

       tell application "System Events" to (name of processes) contains appName

    end is_running


    if is_running("Live") then

       do shell script "open \"/Users/patrick/Music/PK/Ambient Jams/2 - Patrick Kidd Solo Project/[PKS] Double Looper.als\""

       delay .5 -- cludgy...                                                                                                                                                 


       -- tell application "Ableton Live 9 Suite"                                                                                                                            

       --      -- open ((path to me as text) & "::") & ":[PKS] Double Looper.als"                                                                                            

       --      open "Users:patrick:Music:PK:Ambient Jams:2 - Patrick Kidd Solo Project:[PKS] Double Looper.als"                                                              

       -- end tell                                                                                                                                                           


       tell application "System Events"

            key code 123 -- left arrow                                                                                                                                       

            key code 123 -- left arrow                                                                                                                                       

            key code 36 -- return                                                                                                                                            

       end tell

    end if

    1 year ago | 0 comments

You need to be logged in, have a Live license, and have a username set in your account to be able to answer questions.

Answers is a new product and we'd like to hear your wishes, problems or ideas.