# System.util.retarget()

**URL:** <https://forum.inductiveautomation.com/t/system-util-retarget/8387>\
**Category:** Ignition\
**Created:** [April 29, 2014, 7:43pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget/8387 "2014-04-29T19:43:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shawnd](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@shawnd](https://forum.inductiveautomation.com/u/shawnd)\
**Post date:** [April 29, 2014, 7:43pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget/8387/1 "2014-04-29T19:43:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![adamaustin](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@adamaustin](https://forum.inductiveautomation.com/u/adamaustin)\
**Post date:** [April 29, 2014, 8:24pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget/8387/2 "2014-04-29T20:24:46Z")

</div>

Try this:

```auto
system.util.retarget("StationProject", None, None, ["Settings Window"])
```

---

<div class="post-metadata">

**Author:** ![shawnd](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@shawnd](https://forum.inductiveautomation.com/u/shawnd)\
**Post date:** [April 29, 2014, 9:23pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget/8387/3 "2014-04-29T21:23:01Z")

</div>

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:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/2026e28c0c425034352c1b75807edf956adc75f4.gif ":thumb\_right:")
