 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Mon Oct 20, 2008 9:19 pm Post subject: |
|
|
thanks smartz
oh yeh, for the reference spence, you forgot a brackets
otherwise your using >> 16 on 0, which means it will work on the text box and not the rest
| Code: | void SendKey(unsigned short vk)
{
_PostMessageA(FindWindow(_T("MapleStoryClass"),NULL),WM_KEYDOWN,vk,MapVirtualKey(vk,0) << 16);
} |
_________________
|
|
| Back to top |
|
 |
smartz993 I post too much
Reputation: 2
Joined: 20 Jun 2006 Posts: 2013 Location: USA
|
Posted: Tue Oct 21, 2008 2:23 pm Post subject: |
|
|
| Snootae wrote: | thanks smartz
oh yeh, for the reference spence, you forgot a brackets
otherwise your using >> 16 on 0, which means it will work on the text box and not the rest
| Code: | void SendKey(unsigned short vk)
{
_PostMessageA(FindWindow(_T("MapleStoryClass"),NULL),WM_KEYDOWN,vk,MapVirtualKey(vk,0) << 16);
} |
|
Lmao, my bad. That's what happens when trying to format your code on CEF. :]
| kitterz wrote: | hey smartz... I am wondering the limitations on VkKeyScan()
Will it work for upercase letters and special characters like !@#?
Or will I have to push the shift key for that?
|
Nah if you try an uppercase letter, it will just send the lowercase version of it. (! = 1; Z = z; etc)
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Tue Oct 21, 2008 8:09 pm Post subject: |
|
|
| smartz993 wrote: | | Snootae wrote: | thanks smartz
oh yeh, for the reference spence, you forgot a brackets
otherwise your using >> 16 on 0, which means it will work on the text box and not the rest
| Code: | void SendKey(unsigned short vk)
{
_PostMessageA(FindWindow(_T("MapleStoryClass"),NULL),WM_KEYDOWN,vk,MapVirtualKey(vk,0) << 16);
} |
|
Lmao, my bad. That's what happens when trying to format your code on CEF. :]
| kitterz wrote: | hey smartz... I am wondering the limitations on VkKeyScan()
Will it work for upercase letters and special characters like !@#?
Or will I have to push the shift key for that?
|
Nah if you try an uppercase letter, it will just send the lowercase version of it. (! = 1; Z = z; etc) |
That's what I suspected...ok thanks
_________________
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|