Jump to content

Windows 7 problem


Hoshen
 Share

Recommended Posts

I play a video game and would like to have auto it do some SEND to it, but it seems windows 7 blocks it for some reason, is there a solution to this?

what's the script to set up something so that when I press ESC the script will exit?

how do I hold down a key longer than 5 ms?

thanks !

Link to comment
Share on other sites

I don't know anything about Windows 7.

To exit on Esc pressed you need a hotkey:

HotKeySet("{Esc}", "_Exit")

;Place your loop here

Func _Exit()
    Exit
EndFunc

To set the amount of time the key is down, use Opt("SendKeyDownDelay", $iMilliseconds).

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...