Jump to content


DotA Autohotkey


  • Please log in to reply
No replies to this topic

#1 Frost Serpent

Frost Serpent

    Newbie

  • Members
  • Pip
  • 18 posts
  • Bnet Name:Serpent!ne
  • Bnet Realm:none

Posted 21 June 2010 - 01:00 AM

Hey guys so I'm having a bit of trouble with this script. Basically it just maps 3 of the item slots to my mousewheel (wheel up, wheel down, wheel press) and disables the window key. I found this on the forums ages ago but Ive taken a break from dota and now am getting back into it.

CODE
#ifWinActive ahk_class Warcraft III
;;Mouse Wheel to Item Slots
*MButton::Send {Numpad8}
*WheelUp::Send {Numpad7}
*WheelDown::Send {Numpad4}

;;Remove Left Windows key to prevent accidents when pressing Alt
LWin::Alt


I've narrowed the problem to the first line. I think (sorry Im not that good at this kind of thing) what the first line is saying that if the active window is war3, then run the following lines. I've deleted the first line and it works fine in desktop/word/firefox etc but doesnt work in-game. Just wondering if someone could help? Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users