No internet connection
  1. Home
  2. Macro and Script Help

Ableton Warp Mode select

By Johnny Simmen @Johnny_Simmen
    2024-11-02 07:12:40.115Z

    Title

    Ableton Warp Mode select

    What do you expect to happen when you run the script/macro?

    i'm trying to click an area on the screen and select out of 5 different options

    Are you seeing an error?

    Element is required

    What happens when you run this script?

    i dont fully know what i'm doing so i can't get too detailed. but i've been able to click certain areas on the screen, and now i'm trying to select other area's after clicking that area

    How were you running this script?

    I used a Stream Deck button

    How important is this issue to you?

    5

    Details

    {
        "inputExpected": "i'm trying to click an area on the screen and select out of 5 different options",
        "inputIsError": true,
        "inputError": "Element is required\n",
        "inputWhatHappens": "i dont fully know what i'm doing so i can't get too detailed. but i've been able to click certain areas on the screen, and now i'm trying to select other area's after clicking that area",
        "inputHowRun": {
            "key": "-MpfwmPg-2Sb-HxHQAff",
            "title": "I used a Stream Deck button"
        },
        "inputImportance": 5,
        "inputTitle": "Ableton Warp Mode select"
    }

    Source

    //Macro converted to script
    
    
    sf.ui.abletonLive.mainWindow.groups.first.groups.whoseTitle.is("Clip Detail").first.popupButtons.whoseDescription.is("Warp Mode").first.mouseClickElement();
    
    (throw 'context missing').menuClickPopupMenu({
        menuPath: ["Beats","Tones"],
        targetValue: "Enable",
    });
    
    
    

    Links

    User UID: DV5lkhZ33FfvIE9mzkRgPOGQpRx2

    Feedback Key: sffeedback:DV5lkhZ33FfvIE9mzkRgPOGQpRx2:-OAfi-dPuAAeZ7wQsJcw

    Feedback ZIP: CpFSUWWm044wqd5ki6HEZFgXgESvSte6B0U+GmXHaUtnKobedz2savOOHB+pj0RUgzQVK43LAX/oSEkwh2MhoSz9pCWwi98pRUW9GPPVm44+ULZQJYLPQbWVOxqawy2VKszGTPkuKyIFT8IMTfJTyZCvYU3ct7Ph7Nc5ZDMmZhlpZa2143K4dBAnakzceLeJXopBMVyLo0/KhVj0A629WSbftsKHTWdNCJ90gBIfi9DCocqQrwHWxNzNC04jfPLSoi+IbxykI4WyRHFESSbnB17wz08ggsAY0p6pYg1Z0/DLa2G2+pjSckIjSo9j/6VD/NWZ8MjDVpyAxyx6Z4S3yUI9W69edRCYJWdEoQfboLs=

    • 1 replies
    1. Chad Wahlbrink @Chad2024-11-04 21:25:17.089Z

      Hey @Johnny_Simmen!

      Thanks for the Ableton question. I'm so happy to hear you are diving in.

      "Popup" or "dropdown" menus in Ableton work slightly differently than other applications. For these kinds of menus in Pro Tools, I suggest using an "Open & Select Item in Popup Menu" macro action. However, in Ableton, you must use two "Click UI Element" macro actions and the "pick" button to select items. Also, it's important to note a sneaky feature of the "pick" mode – if you hold COMMAND, you can click on elements on the screen without leaving "pick" mode.

      To change warp modes, you will first add a "Click UI Element" macro action and use the "pick" button to select the warp mode drop-down:

      Then, add the second "Click UI Element" macro action, click the "pick" button, and then hold COMMAND to allow you to click your mouse without exiting "pick" mode. Next, click the same warp mode drop-down (with COMMAND held), release the COMMAND modifier, and finally, click the desired warp mode.

      The resulting macro should end up something like this, allowing you to select a warp mode.

      For more on using "pick" in SoundFlow, see this video: