System.util.retarget()

I am trying to retarget to a different project on the same gateway, but I don’t want to go to the main window of that new project, I need to be able to specify the window. I found the following in the manual:

system.util.retarget(projectName [, gatewayAddress] [, params] [, startupWindows])

The problem is I can’t seem to figure out how to omit the gateway address (as its the same), and the params, as I don’t need them, and go right to specifying the window.
I thought something like the following would work:
system.util.retarget(“StationProject”, , , [“Settings Window”])
However it does not like that syntax.
The following almost works:
system.util.retarget(“StationProject”, “localhost:8088”, {}, [“Settings WIndow”])
but it comes up with a “no manifest found” error when the window appears to open.

Any help would be great, thanks!
-Shawn

Try this:

system.util.retarget("StationProject", None, None, ["Settings Window"])
1 Like

Thank you so much! I knew there had to be a way around it, I just couldn’t figure it out.
Thanks again! :thumb_right: