Hi There,
I’m trying WaveLab 9 Pro on Windows 8.1 64 bits.
I like the software very much. I think it’s brilliant (it also looks really great now…)
Scripting is very important to me. So far everything I’ve tried (both Windows JScripts and the internal scripting) works great, except the Trigger method of the KeyShortcut object. This one is so important…
It just doesn’t do anything. the object is created and the method is recognized and called. I know that, because when I tried sending it only the shortcut string as the only argument, it reported an error, because both arguments are mandatory.
Is there a known issue with this part of the Windows Scripting interface?
Here’s an example code for the part that doesn’t work:
var sc = WScript.CreateObject(“WaveLab9_0_64.KeyShortcut”);
sc.Trigger(“Wave”, “Ctrl+Down”);
or, alternatively:
sc = new ActiveXObject(“WaveLab9_0_64.KeyShortcut”);
sc.Trigger(“AudioMontage”, “Ctrl+A”);
Both ways of creating the WaveLab objects and calling their methods work for everything else I’ve tried…
Thanks and All the Best,
Asaf