Checking the state of the key in the scripts

Discussions Related to Game Hacking and Memory Hacking Software

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

Checking the state of the key in the scripts

Postby daenerys » Fri Aug 27, 2010 10:50 pm

Hello,
I would like to implement a script which code should be iteratively executed only during the right mouse button is pressed/down. As soon as the button is depressed/up, the code shouldn't be executed anymore.
Is it possible to check from the script if a button is pressed/down in order to make a loop as long as it is in this state?
Another option would maybe, if possible at all, to make the script events beeing executed not only upon pressing of a button but also upon depressing of the same....

Thanks for your help,
danny
daenerys
Hackleberry Fin
 
Posts: 25
Joined: Wed Jul 26, 2006 6:21 pm

Re: Checking the state of the key in the scripts

Postby L. Spiro » Sat Aug 28, 2010 12:55 am

Remind me to check this topic again when I get back to Japan next month where I can check what features are available in MHS to do this.
If nothing else you can set hotkeys to activate and deactivate a script by keypresses (not mouse presses).


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan


Return to General Related Discussions

Who is online

Users browsing this forum: No registered users and 0 guests

cron