Developer's Blog
Register Low Fi Mark Forums Read

Notices

Closed Thread
 
Thread Tools
Old 12-05-2010, 03:12 PM   #1
disturbedno0b
Member
 
Join Date: Oct 2009
Posts: 221
disturbedno0b is offline

Default AutoHotkey


I found this program: AutoHotkey and it seems its pretty awesome.
I'm trying to make hotkey for DotA using complete script, but i came to problem:

Code:
#SingleInstance force ;force a single instance
#HotkeyInterval 0 ;disable the warning dialog if a key is held down
#InstallKeybdHook ;Forces the unconditional installation of the keyboard hook
#UseHook On ;might increase responsiveness of hotkeys
#MaxThreads 20 ;use 20 (the max) instead of 10 threads
SetBatchLines, -1 ;makes the script run at max speed
SetKeyDelay , -1, -1 ;faster response (might be better with -1, 0)
;Thread, Interrupt , -1, -1 ;not sure what this does, could be bad for timers

;; Make the icon the TFT icon
regread, war, HKEY_CURRENT_USER, Software\Blizzard Entertainment\Warcraft III, ProgramX
menu, tray, icon, %war%, 1, 1



#ifWinActive ahk_class Warcraft III
{
Send {Space}::send, {Numpad1}
}
!w::send, {Numpad2}
!e::send, {Numpad3}
!r:send, {Numpad4}
!t::send, {Numpad5}
!f::send, {Numpad6}
return
WheelDown::
{
Send {Enter}Button MISSING{Enter}'
}
return
MButton::
{
Send {Enter}MIddle MISSING{Enter}'
}
return
WheelUp::
{
Send {Enter}Top MISSING{Enter}'
}
return

Warcraft for some reason doesn't read the 'Clicked Space' which will activate Inventory slot 1, also i tried with CapsLock neither it is read too. Anyone can help?
 
Old 12-05-2010, 03:27 PM   #2
disturbedno0b
Member
 
Join Date: Oct 2009
Posts: 221
disturbedno0b is offline
Default Re: AutoHotkey

bump
 
Old 12-05-2010, 04:05 PM   #3
disturbedno0b
Member
 
Join Date: Oct 2009
Posts: 221
disturbedno0b is offline
Default Re: AutoHotkey

Someone close/remove this, it seems i fixed it... sorry!
 
Old 12-06-2010, 12:51 PM   #4
XaTrIxX
Forum Staff
 
XaTrIxX's Avatar
 
Join Date: Jun 2009
Posts: 3,348
Blog Entries: 3
XaTrIxX is offline
Default Re: AutoHotkey

Closed on request.
__________________

Programming section moderator.
Also resolving issues in Marketplace section.
Playing DotA since 2005.
 
Closed Thread
  Entertainment Programming


Forum Jump

Thread Tools