title: Global Keyboard hook to stop script
body: <p>I've created a login script in VBScript but i would like to add a way to stop if a key is being pressed.</p>
  
  <p>The script currently loads our citrix desktop and sets a few mapped drives but i'd like to add a if statement to say for example: </p>
  
  <pre><code>If keyPressed(F10) not true Then
  </code></pre>
  
  <p>Unfortunately this is beyond my means.</p>