# Launch Link Script Policy

**URL:** <https://forum.inductiveautomation.com/t/launch-link-script-policy/6997>\
**Category:** General Discussion\
**Created:** [August 7, 2013, 3:13pm UTC](https://forum.inductiveautomation.com/t/launch-link-script-policy/6997 "2013-08-07T15:13:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![justice5555](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@justice5555](https://forum.inductiveautomation.com/u/justice5555)\
**Post date:** [August 7, 2013, 3:13pm UTC](https://forum.inductiveautomation.com/t/launch-link-script-policy/6997/1 "2013-08-07T15:13:53Z")

</div>

Can someone elaborate on the difference between the Gateway settings “JavaScript” and “Direct”? I read everything I could find on the forum, but am not clear on what the differences are.

We launch our projects as:  
(1) Windowed using “[http://IPAddress/main/system/launch/client/ProjectName.jnlp](http://IPAddress/main/system/launch/client/ProjectName.jnlp)”  
(2) Applets using "[http://IPAddress/main/web/applet/client/ProjectName”](http://IPAddress/main/web/applet/client/ProjectName%E2%80%9D)

Applets are desired because:  
(1) They are embedded inside a browser  
(2) Launch without the startup screen that appears when launching as Windowed  
This works when we set the project properties to launch as an Applet by default. So, is there an advantage to using JavaScript versus Direct?

---

<div class="post-metadata">

**Author:** ![james.hunt](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@james.hunt](https://forum.inductiveautomation.com/u/james.hunt)\
**Post date:** [August 30, 2013, 4:52pm UTC](https://forum.inductiveautomation.com/t/launch-link-script-policy/6997/2 "2013-08-30T16:52:29Z")

</div>

The launch link Script Policy only applies to launching links from the Gateway in addition to launching clients from the designer. With that being said there is no real benefit from having Javascript handle this functionality, and we advise using the default Direct setting.
