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

open rename clip dialogue with script takes forever

By Daniel Perez @daniel_perez
    2023-03-07 14:51:33.563Z

    Title

    open rename clip dialogue with script takes forever

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

    open rename clip dialogue

    Are you seeing an error?

    What happens when you run this script?

    open rename clip dialogue with a script or macro, pressing enter after renaming takes forever to close the rename dialogue again. pt 22.12 that was never the case before and is true for soundflow and other scripting apps like better touch tool. opening the renaming dialogue with the pt original shortcut or double click works fine as usual.

    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": "open rename clip dialogue",
        "inputIsError": false,
        "inputWhatHappens": "open rename clip dialogue with a script or macro, pressing enter after renaming takes forever to close the rename dialogue again. pt 22.12 that was never the case before and is true for soundflow and other scripting apps like better touch tool. opening the renaming dialogue with the pt original shortcut or double click works fine as usual.",
        "inputHowRun": {
            "key": "-Mpfwh4RkPLb2LPwjePT",
            "title": "I used a keyboard shortcut within the target app"
        },
        "inputImportance": 5,
        "inputTitle": "open rename clip dialogue with script takes forever"
    }

    Source

    //Macro converted to script
    
    
    //Calling command "Rename..." from package "undefined" (installed from user/pkg/version "srAasovvDiQacRZ2mcId4RrOA8R2/ckp49i4j60000a2100yfwywgf/claqnharn0001vz100v1ua2wy")
    sf.soundflow.runCommand({
        commandId: 'user:ckp49i4j60000a2100yfwywgf:ckw2p6vpz0002ik10txjjtvhs#ckw2wdejo000uik103hef958b',
        props: {}
    });
    
    
    

    Links

    User UID: qxvuxIROjqhCgyum17n87NP7TKo2

    Feedback Key: sffeedback:qxvuxIROjqhCgyum17n87NP7TKo2:-NPwYa8zjyug_26sGom9

    Feedback ZIP

    • 8 replies
    1. Daniel Perez @daniel_perez
        2023-03-07 14:56:25.800Z
        1. Daniel Perez @daniel_perez
            2023-03-07 14:58:27.914Z

            i create clip groups with a script and open the rename dialogue afterwards with a script as i did always. now, after pressing enter pt takes forever to close the rename dialogue after pressing enter. this is only when opening the rename dialogue with a script or macro in soundflow and better touch tool. opening the rename dialogue with the pt own shortcut or with double click works normal. i noticed this strange beahviour only in pt 22.12

            1. Hey @daniel_perez, that's an interesting yet frustrating case. I use a clip-renaming script on my daily workflow but luckily haven't experienced this myself on 22.12.

              Could you post the script you're using so I can see if it's maybe something with the code? Could you also include a screen recording of it happening? That would help me repro the issue.

              1. Daniel Perez @daniel_perez
                  2023-03-07 19:48:51.502Z

                  i attached a screen recording for you. i use the standard rename command in soundflow for that. doing the same with better touch tool takes forever as well.

                  video https://my.hidrive.com/lnk/BaSTDLwb

                  1. Thanks for sending that! I can definitely see it.

                    What happens if you open the Rename window with the command below? Is it any different?

                    sf.ui.proTools.menuClick({ menuPath: ["Clip", "Rename..."] });
                    
                    1. Daniel Perez @daniel_perez
                        2023-03-07 21:35:10.518Z

                        same. i just created a new session out of curiosity and this odd behavior only happens in the session i'm working on. i guess i just have to live with it.

                        1. Daniel Perez @daniel_perez
                            2023-03-07 21:36:41.085Z

                            my bet is, pt changed, due to the new (upcoming) script adk thing. so pt behaves strangely when triggered with a script.

                            1. In reply todaniel_perez:

                              Ok, yeah that's odd but luckily it's only happening in that particular session.
                              As a workaround, you could make a new session and import the session data from this session and, hopefully, the odd behavior doesn't make it across.
                              I'd also try restarting PT and/or the computer and see if that clears it.