# Launch Vision Client from a different Gateways Client via Scripting

**URL:** <https://forum.inductiveautomation.com/t/launch-vision-client-from-a-different-gateways-client-via-scripting/103211>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 4, 2025, 3:21pm UTC](https://forum.inductiveautomation.com/t/launch-vision-client-from-a-different-gateways-client-via-scripting/103211 "2025-03-04T15:21:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Randolph\_Sewell](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@Randolph\_Sewell](https://forum.inductiveautomation.com/u/Randolph_Sewell)\
**Post date:** [March 4, 2025, 3:21pm UTC](https://forum.inductiveautomation.com/t/launch-vision-client-from-a-different-gateways-client-via-scripting/103211/1 "2025-03-04T15:21:54Z")

</div>

I got this to launch vision client laucnher but it doesn't try to open any projects:  
system.util.execute(['C:\Program Files\Inductive Automation\Vision Client Launcher\visionclientlauncher.exe'])  
I was wondering where I could see what parameters the vision client launcher can take like for example the project name to launch a client from another gateway? I see all the command line arguments you can make including the application name.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 4, 2025, 3:24pm UTC](https://forum.inductiveautomation.com/t/launch-vision-client-from-a-different-gateways-client-via-scripting/103211/2 "2025-03-04T15:24:13Z")

</div>

Add the other gateway to the launcher. Add its applications (or just selected ones). Create a desktop shortcut for the desired application on the desired gateway. Inspect the desktop shortcut for how you run the VCL targeting a specific app.

In v8.1 and earlier, the application name to launch must already be present in the VCL's config file, so the rest of the connection details can be retrieved. (This is changing for v8.3.)

---

<div class="post-metadata">

**Author:** ![Randolph\_Sewell](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@Randolph\_Sewell](https://forum.inductiveautomation.com/u/Randolph_Sewell)\
**Post date:** [March 4, 2025, 3:32pm UTC](https://forum.inductiveautomation.com/t/launch-vision-client-from-a-different-gateways-client-via-scripting/103211/3 "2025-03-04T15:32:07Z")

</div>

I see the targeting information and did the rest of what you mentioned, but passing that into the scrpiting on the system.execute on a button isn't working. I'm trying to have them launch the "local site" from the "central Site" via a button

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 4, 2025, 3:40pm UTC](https://forum.inductiveautomation.com/t/launch-vision-client-from-a-different-gateways-client-via-scripting/103211/4 "2025-03-04T15:40:51Z")

</div>

Vision has [system.util.retarget()](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-util/system-util-retarget) for that task. Does not require anything in the local VCL config.

---

<div class="post-metadata">

**Author:** ![Randolph\_Sewell](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@Randolph\_Sewell](https://forum.inductiveautomation.com/u/Randolph_Sewell)\
**Post date:** [March 4, 2025, 3:45pm UTC](https://forum.inductiveautomation.com/t/launch-vision-client-from-a-different-gateways-client-via-scripting/103211/5 "2025-03-04T15:45:06Z")

</div>

I thought retarget only did it on the current gateway not to another one. I'll look into it

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 4, 2025, 3:49pm UTC](https://forum.inductiveautomation.com/t/launch-vision-client-from-a-different-gateways-client-via-scripting/103211/6 "2025-03-04T15:49:30Z")

</div>

> [@Randolph\_Sewell](#):
>
> urrent gateway not to another

Right there in the first paragraph of its description. 🤷‍♂️
