Title
create / convert fades won't work after update to pt 22.6
What do you expect to happen when you run the script/macro?
create / convert fades
Are you seeing an error?
after update to pt 22.6 script stopped working
What happens when you run this script?
script won't work anymore after update to pt 22.6
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": "create / convert fades", "inputIsError": true, "inputError": "after update to pt 22.6 script stopped working", "inputWhatHappens": "script won't work anymore after update to pt 22.6", "inputHowRun": { "key": "-Mpfwh4RkPLb2LPwjePT", "title": "I used a keyboard shortcut within the target app" }, "inputImportance": 5, "inputTitle": "create / convert fades won't work after update to pt 22.6" }
Source
//Activate Pro Tools
sf.ui.proTools.appActivate();
sf.ui.proTools.invalidate();
sf.ui.proTools.menuClick({
menuPath: ["Edit","Fades","Create..."],
});
sf.ui.proTools.windows.whoseTitle.contains('Fade').first.buttons.whoseTitle.is('Fade Preset Toggle').allItems[0].elementClick(); ///0-4 is presets 1-5
sf.ui.proTools.windows.whoseTitle.contains('Fade').first.buttons.whoseTitle.is("OK").first.elementClick();
Links
User UID: qxvuxIROjqhCgyum17n87NP7TKo2
Feedback Key: sffeedback:qxvuxIROjqhCgyum17n87NP7TKo2:-N6Qoi3_DKH07FsnTR9d
- Daniel Perez @daniel_perez
- OOwen Granich-Young @Owen_Granich_Young
I'm not updated so I can't test it, but I think this discuses a similar problem where all preset 1-5 buttons are affected.
- In reply todaniel_perez⬆:OOwen Granich-Young @Owen_Granich_Young
i THINK someone on the forum said that in new PT the code for presets changed a bit.
//Activate Pro Tools sf.ui.proTools.appActivate(); sf.ui.proTools.invalidate(); sf.ui.proTools.menuClick({ menuPath: ["Edit","Fades","Create..."], }); sf.ui.proTools.windows.whoseTitle.contains('Fade').first.buttons.whoseTitle.is("Preset Toggle 1").first.elementClick(); sf.ui.proTools.windows.whoseTitle.contains('Fade').first.buttons.whoseTitle.is("OK").first.elementClick();
I can't test it as I've not updated. But give this a whirl and see if it works? Or maybe you can check the code in that other forum post and tweak.
Best of luck,
OwenChris Shaw @Chris_Shaw2022-07-09 00:13:30.962Z
You can easily modify the old script by changing the
is
property to thecontains
property://Activate Pro Tools sf.ui.proTools.appActivate(); sf.ui.proTools.invalidate(); sf.ui.proTools.menuClick({ menuPath: ["Edit","Fades","Create..."], }); sf.ui.proTools.windows.whoseTitle.contains('Fade').first.buttons.whoseTitle.contains('Fade Preset Toggle').allItems[0].elementClick(); ///0-4 is presets 1-5 sf.ui.proTools.windows.whoseTitle.contains('Fade').first.buttons.whoseTitle.is("OK").first.elementClick();
- In reply todaniel_perez⬆:Daniel Perez @daniel_perez
how often you just need to extend a crossfade across tracks?