title: Can I use InputBox to input a Hotkey?
body: <p>I'd like to use InputBox to enter the keys that would subsequently be used to activate a Hotkey  While I am able to input the data using the script below, I don't know to make it available as a Hotkey</p>
  
  <pre><code>InputBox, UserID, UserID, Enter your UserID,,150, 120
  If ErrorLevel
      Exit
  InputBox, password, Password, Enter your Password, HIDE, 150, 120 
  If ErrorLevel
      Exit
  Prompt := "Create your shortcut using any`ncombination of keys including `n^ for Ctrl`n# for Windows`n! for Alt`nin combination with another key."
  InputBox, Shortcut, Shortcut, %Prompt%,,220, 220
  If ErrorLevel
      Exit
  else
  MsgBox, %UserID%, %Password%, %Shortcut%
  Exit
  
  %Shortcut%::
  MsgBox, It worked.
  </code></pre>
  
  <p>Probably ridiculously easy to do but I don't see it.  Is is possible?  Thanks.</p>