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

    Default Simulate Hold key down for background windows

    Good evening.
    Ive attempted to use autohotkey and hotkey.net and run into the same issue, regardless of the game: wow,spiral knights,tumbleing monkeys etc.

    The trouble is for the command to hold a key down, the background windows instead show behavior that it was just tapped once. The main window works just fine, even though my keyed in input reaches it only via the hotkey program. So, this is happening even though the identical command is being broadcasted to all windows. Indicating that this is an issue with windows' inherent design.

    Here is the specfic autohotkey command im using for just the W key. I have this same bind setup for all the keys I use. The Foreground program works perfectly, but all others do not.

    ~w::
    if GetKeyState("w","p")
    {
    ControlSend,, {w down}, ahk_id %skid1%
    ControlSend,, {w down}, ahk_id %skid2%
    ControlSend,, {w down}, ahk_id %skid3%
    ControlSend,, {w down}, ahk_id %skid4%
    }
    return

    ~w up::
    {
    ControlSend,, {w up}, ahk_id %skid1%
    ControlSend,, {w up}, ahk_id %skid2%
    ControlSend,, {w up}, ahk_id %skid3%
    ControlSend,, {w up}, ahk_id %skid4%
    Return
    }

    Is there a workaround that you see? Should neither of the windows be maximized? Should i be running any of the programs as an administrator? Is there some windows setting that I need to change to make this work. Annoying that I'm not getting the results though the code is apparently correct.

    Thank you!
    Last edited by Fighterdualfang : 07-22-2019 at 01:14 AM

Posting Rules

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