Jump to content

does not insert when keys are pressed!


selevo
 Share

Recommended Posts

#include <Inet.au3>
HotKeySet("^+{BACKSPACE}" , "SendUSD") 
#HotKeySet("{F10}", "qui") 

while(1)
sleep(100)
wend

func SendUSD()
$aRes="1234567890"
#sgBox(0,"",$aRes[0])
Send($aRes);
endfunc

func qui()
exit
endfunc


Script start after pressed Ctrl+Shift+Backspace and inserted only if i quickly release the buttons Ctrl and Shift keys but after the program leaves the Ctrl  key stuck 

What is the reason for this and how to solve it?

Edited by selevo
Link to comment
Share on other sites

  • Moderators

@selevo we have a pretty great Wiki, which we suggest people (especially new) read before posting. A lot of these commonly asked questions are answered in the FAQ section:

https://www.autoitscript.com/wiki/FAQ#Why_does_the_Ctrl_key_get_stuck_down_after_I_run_my_script.3F

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...