Jump to content

cribban

Member
  • Posts

    8
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Sweden

Everything posted by cribban

  1. I checked out the new manual, and noticed you say it is supported to write "wpi.hta School" and also "wpi.hta School 20" for the timer, that is not true. However, i revised the code a third time and now that all seems to work (could you please verify that for me): <script language="javascript"> var params = oApp.commandLine.split(" "); var wpiparam=params[params.length - 2]; var timeparams = oApp.commandLine.split(" "); var wpitimeparam=timeparams[timeparams.length - 1]; if (wpitimeparam!='') { load_checks = params[params.length -1]; } if (wpiparam!='' && (wpitimeparam!='' && wpitimeparam.length < 4)) { load_checks = params[params.length - 2]; timer = 'on'; secs = timeparams[params.length - 1]; } </script>
×
×
  • Create New...