clap clap clap, hi5 for solving your own problems
I'm trying to create an underscore using keybd_event except instead of doing that, it creates hyphens and underscores over 1000 times (basically -_-_-_-_-_-_-_-___---__-_-_--_-- over and over, seriously) and I had to use:
[php]keybd_event(&H10, 0, KEYEVENTF_KEYUP, 0) '&H10 = VK_SHIFT[/php]
because after I stopped debugging there was some really strange thins going on and that is what I used to stop it.
This is what I'm using to create an underscore:
[php] keybd_event(&H10, 0, 0, 0) '&H10 = VK_SHIFT
keybd_event(&HBD, 0, 0, 0) '&HBD = VK_HYPHEN or whatever you want to call it
keybd_event(&HBD, 0, KEYEVENTF_KEYUP, 0)
keybd_event(&H10, 0, KEYEVENTF_KEYUP, 0)[/php]
Any ideas?
EDIT - derp derp, solved. I didn't increment the i value!
[php]Dim i as integer = 0
While i < 10
keybd_event(&H10, 0, 0, 0) '&H10 = VK_SHIFT
keybd_event(&HBD, 0, 0, 0) '&HBD = VK_HYPHEN or whatever you want to call it
keybd_event(&HBD, 0, KEYEVENTF_KEYUP, 0)
keybd_event(&H10, 0, KEYEVENTF_KEYUP, 0)
'Where is i + = 1?
End While[/php]
/request solved
Last edited by master131; 12-19-2010 at 03:30 PM.
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
clap clap clap, hi5 for solving your own problems