Hotkey Help?
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
-Solved-
Last edited by upperdrag on Tue Jan 17, 2012 6:24 am, edited 1 time in total.
You can use Form1_KeyDown
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
Code: Select all
what about something like this?Private Sub form1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles me.KeyUp
If e.KeyCode = Keys.Enter Then 'do something
If e.KeyCode = Keys.Delete Then 'do something
End Sub
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
Will it work? I mean like the game is a full screen game so.... idk actually
*Edit* Tested it doesn't work the game just overlaps!
*Edit* Tested it doesn't work the game just overlaps!
hello,
this must work
this must work
Code: Select all
''' <summary>
''' Key hold down
''' </summary>
Private Sub frmGame_KeyDown(ByVal sender As Object, ByVal e As KeyEventArgs) Handles MyBase.KeyDown
e.Handled = True
Select Case e.KeyData
Case Keys.F10 : 'do something
Case Keys.Escape : 'do something
End Select
End Sub
''' <summary>
''' Key hold up
''' </summary>
Private Sub frmGame_KeyUp(ByVal sender As Object, ByVal e As KeyEventArgs) Handles MyBase.KeyUp
e.Handled = True
Select Case e.KeyData
Case Keys.F10 : 'do something
End Select
End Sub
visit us on:
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
He wants the code to change the selected tool in the Warcraft game too. You would need to find the right position in the process' memory where the index of the selected tool is stored, then change that value to what you want. That offset may change too. I would be very careful with memory editing because if you edit at the wrong offset it could crash the process and eventually the system.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image](http://mc2.ownagehosting.com/index.php?r=status/19.png)
MrAksel wrote:He wants the code to change the selected tool in the Warcraft game too. You would need to find the right position in the process' memory where the index of the selected tool is stored, then change that value to what you want. That offset may change too. I would be very careful with memory editing because if you edit at the wrong offset it could crash the process and eventually the system.And if im not wrong WoW has an hackshield? Edit procces is seen as hacking. Just FYI.
Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
If you just want to make your own hotkeys for other key combinations then you can use RegisterHotKey. When the hotkey is pressed you can see if the game is the active window; if it is then you can use SendInput/SendKeys etc.
Whaaa....t? Im so sorry but i totally do not understand what are you guys talking! Could you please dumb it down for me? I'm not playing WoW, im playing a game called DotA which is like a map for warcraft frozen throne.. and i wanna know how to make user defined hotkeys like,
I set the hotkey as '1' and each time i press '1' it will automatically press for example, '7'
its like hotkey switching in the game
I set the hotkey as '1' and each time i press '1' it will automatically press for example, '7'
its like hotkey switching in the game
Copyright Information
Copyright © Codenstuff.com 2020 - 2023