Hello,
I'm very new to developing HTML5 extensions, and coding in general, so forgive me if the question is basic or if I'm not sharing the right information to help solve my issue.
I wrote a simple panel with a single button firing a script to duplicate, rename (by incrementing the version number) and archive and active sequence.
All seems to work well, except that the first time I use it, it seems to be running twice in a row. Every time after that it seems to run fine.
Here's the GitHub link to my script: adobe-premiere-handy-tools/hostscript.jsx at master · jchichignoud/adobe-premiere-handy-tools · GitHub
I used the skeleton extension that comes with Brackets to build it, so I didn't really do anything else than change the name of the button outside of the hostscript.jsx
Thanks in advance for your help.