Open a project from another project

Hi all,

I am looking into creating some kind of a project which will be like an overview of all the projects we have. My question is how the script should look like to open a project on a button click? I do not want to be prompted to save or save the jnlp file but smoothly switch from the overview project to project B.

I have tried system.net.openURL("http://localhost:8088/main/system/launch/client/project.jnlp") but it prompts me to save the project and then open it manually. Thanks in advance!

I think you are looking for system.util.retarget