Click to See Complete Forum and Search --> : Please Fix This Autohotkey Macro To C++ Macro


UzielAA
December 11th, 2006, 09:31 PM
Please Fix This Code To C++ Macro From AutoHotkeys Macro
$t::
Send, {Space 10}
Sleep 90
Send w
Sleep 5
Send w
Sleep 7
Send {LButton Down}
Sleep 5
Send {LButton Up}
Sleep 25
Send {Shift}
Sleep 15
return

$g::
Send, {Space 10}
Sleep 90
Send s
Sleep 5
Send s
Sleep 7
Send {LButton Down}
Sleep 5
Send {LButton Up}
Sleep 25
Send {Shift}
Sleep 15
return

$f::
Send, {Space 10}
Sleep 90
Send d
Sleep 5
Send d
Sleep 7
Send {LButton Down}
Sleep 5
Send {LButton Up}
Sleep 25
Send {Shift}
Sleep 15
return

$h::
Send, {Space 10}
Sleep 90
Send a
Sleep 5
Send a
Sleep 7
Send {LButton Down}
Sleep 5
Send {LButton Up}
Sleep 25
Send {Shift}
Sleep 15
return

$y::
Send, {Space 10}
Send {LButton Down}
Sleep 5
Send {LButton Up}
Sleep 255
Send w
Sleep 10
Send w
Sleep 5
return

$u::
Reload
return


Please Help me

Vanaj
December 11th, 2006, 10:49 PM
Please Fix This Code To C++ Macro From AutoHotkeys MacroPlease Help me


What do you mean by a "C++ Macro" ??

Boris K K
December 12th, 2006, 10:35 AM
To simulate user input, use the SendInput (http://msdn2.microsoft.com/en-us/library/ms646310.aspx) API function.