We will use jQuery to tell IntraLaunch what to do. The following is a simple example that has a typical HTML a href element run the Windows notepad. The JSON object 'detail' cannot change and is a required set of parameters IntraLaunch expects. Not all parameters have to be list but at least task and program are expected. See the manifest for the complete list.

 Note, all paths for workingfolder, program, log, etc. must be escaped with a double backslash (\\) because of Javascript & JSON.

Simple Example

   <script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
   <script language="JavaScript" type="text/javascript"> var $jQuery = jQuery.noConflict(); </script>

   <script type="text/javascript">
         jQuery("#notepad_link").on("click", function (event) 
           event.preventDefault(); // Recommended to stop the link from doing anything else
           document.dispatchEvent(new CustomEvent('funcIntraLaunch',
              'detail': { task: 'run',
                          program: 'notepad.exe',
                          workingfolder: 'C:\\Temp',
                          switches: '',
                          windowstate: 'max',
                          showerrors: 'true'
                        } })); 

      <a href="#" id="notepad_link">Open notepad</a>