Hello,
I have a script which is part of an add-in. When the script is launched, it triggers the creation of a project (project=new project (...)). However, when I'm debugging the script, I typically run it with a project already open and use the code project=this project().
I would like to make the script smarter so that if a project(s) is already open then it run automatically into the open project (or ask which project to run it into, or give the option to create a new script). if no project is open then it would first create a project.
Sugestions?
Thanks