Close
Showing results 1 to 3 of 3

Hybrid View

  1. #1

    Default

    I apologize for the necro, but in case anyone comes across this looking for something similar...

    In AHK, when you Send a key, you're in effect sending a {%key% Down} followed quickly by {%key% Up}. When broadcasting movement keys or modifiers, you need to break the key DOWN and the key UP into separate hotkeys to capture the duration. For OP's macro:

    ~LShift Down::
    IfWinActive, World of Warcraft
    {
    ControlSend,, {LShift Down}, ahk_id %wowid2%
    ControlSend,, {LShift Down}, ahk_id %wowid3%
    ControlSend,, {LShift Down}, ahk_id %wowid4%
    ControlSend,, {LShift Down}, ahk_id %wowid5%
    Return
    }

    ~LShift Up::
    IfWinActive, World of Warcraft
    {
    ControlSend,, {LShift Up}, ahk_id %wowid2%
    ControlSend,, {LShift Up}, ahk_id %wowid3%
    ControlSend,, {LShift Up}, ahk_id %wowid4%
    ControlSend,, {LShift Up}, ahk_id %wowid5%
    Return
    }


    There are a couple things that could've gone wrong a ~+5 hotkey, but at a guess - if you were expecting Shift 5 to be broadcast you would've needed to send {Shift Down}5{Shift Up}
    Last edited by MiRai : 07-05-2018 at 12:47 PM Reason: Formatting - Automatic Color Text

Posting Rules

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