Close
Showing results 1 to 2 of 2
  1. #1

    Default Help with AutoHotKey keybinding

    I want to make a script so that when I hold shift and E it will use a spell in WoW. I've tried and tried to make this work, but just can't seem to get it. Any help would be greatly appreciated.

  2. #2

    Default

    Code:
    clonepush(strkey)
    {
    global winid
    Loop %winid% 
        {
        tmp:=winid%A_Index%
        IfWinNotActive, ahk_id %tmp%
            ControlSend, ,%strkey%, ahk_id %tmp%
        }
    sleep 1
    }
    
    
    
    WinGet, winid, List,World of Warcraft
    
    ~+e::clonepush("{e down}{e up}")
    change ~+e::clonepush("{e down}{e up}")
    the plus sign is the shift modifier change the e in {e down}{e up} to what ever key you want.

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •