check whther a project is already open
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 proje...