Beginner question about debugging scripts
Posted: Sat Mar 12, 2022 6:54 pm
Hi everyone, I've been a mediamonkey 4 user for a while and have a couple VBScripts scripts that I am trying to convert to media monkey 5 javascripts. Right now I am just starting with the basics, I have created an action, and a menu entry for it. I can launch a dialog window from there. Next step is to loop through the selected tracks, and popup a dialog window with the title for each track. But for some reason my script is dying and I can't figure out why. I have read the documentation, but I am still completely confused as to how to enter development mode and bring up a console or debugger. I have tried:
1) Hitting ctrl-alt-shift
2) right clicking anywhere (as the doc says) to bring up menu option
3) open Help->About menu
4) putting app.enabledDeveloperMode = true in my code
None of these seem to do anything, and I am struggling to find any documentation on how to go about debugging scripts in MM5. I would appreciate any pointers.
Also, is it standard practice to have to restart MM everytime you change a script?
1) Hitting ctrl-alt-shift
2) right clicking anywhere (as the doc says) to bring up menu option
3) open Help->About menu
4) putting app.enabledDeveloperMode = true in my code
None of these seem to do anything, and I am struggling to find any documentation on how to go about debugging scripts in MM5. I would appreciate any pointers.
Also, is it standard practice to have to restart MM everytime you change a script?