1

My AHK script says that numpad3 or 3 is invalid, what is the code I must input to make my script input numbers?

F9::
    Toggle := !Toggle
     While Toggle{
        3
        sleep 10
        4
        sleep 10
        5
        sleep 1000
    }
return
  • I think you need to use the Send command. Send {3} or Send {Numpad3} Send Keys & Clicks – DrZoo Jan 30 at 19:01
  • i didn't, thank you – BBQ Sniffa Jan 30 at 19:10
  • Does that make it work correctly? – DrZoo Jan 30 at 19:10

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.