No internet connection
  1. Home
  2. Support

AutoTune-Pro Graph Mode Help 1

By Murray Creagh @Murray_Creagh
    2022-03-08 00:18:46.679Z

    Title

    AutoTune-Pro Graph Mode Help 1

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

    I need the macro to pause for a second between actions

    Are you seeing an error?

    What happens when you run this script?

    The audio suite plug in (Auto-Tune Pro) opens correctly, it selects the preset correctly - but then I want it to type the number "1" to toggle on the "pitch" button (in graph mode) - and then click "preview" ... it is goign to preview correctly but it's not pressing the pitch button before that last step - or maybe it's pressing it too fast - or maybe the plug in doesn't have keyboard focus at the time when 1 is being pressed? I'm not sure but if I could add a pause between the actions maybe that would work? - thanks

    How were you running this script?

    I used a keyboard shortcut within the target app

    How important is this issue to you?

    5

    Details

    {
        "inputExpected": "I need the macro to pause for a second between actions",
        "inputIsError": false,
        "inputWhatHappens": "The audio suite plug in (Auto-Tune Pro) opens correctly, it selects the preset correctly - but then I want it to type the number \"1\" to toggle on the \"pitch\" button (in graph mode)  - and then click \"preview\" ... it is goign to preview correctly but it's not pressing the pitch button before that last step - or maybe it's pressing it too fast - or maybe the plug in doesn't have keyboard focus at the time when 1 is being pressed? I'm not sure but if I could add a pause between the actions maybe that would work?  - thanks ",
        "inputHowRun": {
            "key": "-Mpfwh4RkPLb2LPwjePT",
            "title": "I used a keyboard shortcut within the target app"
        },
        "inputImportance": 5,
        "inputTitle": "AutoTune-Pro Graph Mode Help 1"
    }

    Source

    //Macro converted to script
    
    
    sf.ui.proTools.audioSuiteOpenPlugin({
        category: "Pitch Shift",
        name: "Auto-Tune Pro",
    });
    
    sf.ui.proTools.firstAudioSuiteWindow.audioSuiteSelectPreset({
        presetMenuPath: ["ALTO GRAPH"],
    });
    
    sf.keyboard.type({
        text: "1",
    });
    
    sf.ui.proTools.audioSuitePreviewCurrent();
    
    
    

    Links

    User UID: GoObsJD9rUQN1tw1Ra338UezHio1

    Feedback Key: sffeedback:GoObsJD9rUQN1tw1Ra338UezHio1:-Mxat7AXdFktNm8uSl6J

    Feedback ZIP

    • 1 replies
    1. Hi Murray,

      You could use a Mouse Click Relative to UI Element action to focus the plugin before typing the keystroke.