Close
Showing results 1 to 3 of 3

Thread: AHK help

Hybrid View

  1. #1

    Default AHK help

    hi i'm new to dual-boxing. I started using AHK but i got a problem.

    this work fine to send Alt + 1 :
    ~'::ControlSend, , {Alt down}{1 down}{1 up}{Alt up}, ahk_id %wowid2%

    but i can't send Ctrl 1 using the same syntax :
    ~^&::ControlSend, , {LControl down}{1 down}{1 up}{LControl up}, ahk_id %wowid2%

    i want to send ctrl 1 to wowid2 when i do ctrl 1 in wowid1

    i don't see why it doesn't work ..

    sorry for my poor english :x

  2. #2

    Default

    tried using ctrl instead of control?

  3. #3

    Default

    yes i tried :

    ~^&::ControlSend, , {LCtrl down}{1 down}{1 up}{LCtrl up}, ahk_id %wowid2%

    ~^&::ControlSend, , {^ down}{1 down}{1 up}{^ up}, ahk_id %wowid2%

    ~^&::ControlSend, , {^1}, ahk_id %wowid2%

    ~^&::ControlSend, , {LControl1}, ahk_id %wowid2%

    ~^&::ControlSend, , {LCtrl1}, ahk_id %wowid2%

    ~^&::ControlSend, , {LCtrl & 1}, ahk_id %wowid2%

    ~^&::ControlSend, , {LControl & 1}, ahk_id %wowid2%

    and more.

    i really don't see why it doesn't work at all ... and i'm sure that the starting hotkey is good because " ~^&::MsgBox Hotkey OK " work fine when i do ctrl1.

Posting Rules

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