Sending a key to game in background

Forum Forums Discussion Sending a key to game in background

This topic contains 3 replies, has 3 voices, and was last updated by Miqobot Miqobot 3 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33017
    noobygod
    noobygod
    Participant
    0

    How exactly does Miqobot send a key in the background to the game? I’m trying to mess around/understand how it works but i always need the game to be in focus if i use something like AHK vs Miqo

    #33027
    Miqobot
    Miqobot
    Keymaster
    0

    Miqobot emulates keystrokes by sending standard WinAPI messages to the game client, such as WM_KEYDOWN and WM_KEYUP. These are the same messages that are generated by Windows when you press a key on the keyboard.

    If you wish to learn more about WinAPI techniques used by our developers, please contact our Tech Support and we will do our best to help you:
    https://miqobot.com/#support

    #33038
    jponry
    jponry
    Participant
    0

    Semi-related question because I’m very curious, do mouse events work the same way? (in general, of course; I know Miqo doesn’t do mouse) i.e. Could one send a “left mouse button down/up @ position x,y in window z” message? Or would that affect the actual cursor location? 🙂

    #33040
    Miqobot
    Miqobot
    Keymaster
    0

    We don’t have this information on hand, but our developers can perform a research for you.
    For technical questions, please contact our Tech Support directly:
    https://miqobot.com/#support

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.