Each operation executed by IntraLaunch can be tracked and appended to a local specified log file of your choice. The log file path must be escaped. (eg. log: '%TEMP_FOLDER%\\log.txt'). If the file does not exist it will automatically be created. If it does exist it will be appended too. In this case we will store the log file in the current user's temp folder. A more complete listing of these %TEMP_FOLDER% type variables can be found on the web site. If your organization must meet some sort of security/compliance regulation this is great. Click Try It to run write.exe, then click the drop down arrow to view the newly created log file in your associated text editor. Many IntraLaunch objects can log to the same log file if required.

Execution Auditing

<html>
   <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(document).ready(function()
     {
         jQuery("#write_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: 'write.exe',
                          workingfolder: '%MY_DOCUMENTS%',
                          switches: '',
                          log: '%TEMP_FOLDER%\\log.txt',
                          windowstate: 'max',
                          showerrors: 'true'
                        } })); 
         });
     });
   </script>

<body>
   <a href="#" id="write_link">Open write</a>
</body>
</html>