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

    Default Script for Right-clicking in the second window

    I figure with practice I can right click in the second window and get my second multi-box toon to loot and skin. Just gotta know where to click.

    I'm newb on the syntax, so all help is appreciated.

    I want to send the right click at the cursor coordinates to the other (not active) WoW window when I middle click.

    Can anyone help me getting it to work?



    Mbutton::
    {
    IfWinActive, ahk_id %WowWinId1%
    ControlClick, Pos, ahk_id %WowWinId2%, RIGHT
    IfWinActive, ahk_id %WowWinId2%
    ControlClick, Pos, ahk_id %WowWinId1%, RIGHT
    }

  2. #2

    Default

    There were two syntax errors

    Code:
    Mbutton:: 
    IfWinActive, ahk_id %WowWinId1% 
    ControlClick, Pos, ahk_id %WowWinId2%, , RIGHT 
    IfWinActive, ahk_id %WowWinId2% 
    ControlClick, Pos, ahk_id %WowWinId1%, , RIGHT 
    RETURN
    #1 the {} brackets are the wrong group symbol for the body. The return line handles this.

    #2 there is a BLANK optional argument before the right click.

Similar Threads

  1. BUG - Losing a window and/or window freeze's
    By Ualaa in forum Software Tools
    Replies: 1
    Last Post: 10-27-2008, 08:18 AM
  2. Replies: 19
    Last Post: 10-14-2008, 03:48 AM
  3. Clicking on Both WoW Windows?
    By sYpro in forum New Multi-Boxers & Support
    Replies: 7
    Last Post: 08-19-2008, 07:06 PM
  4. Keyclone - Switch Main window with Slave Window
    By Dinnie in forum New Multi-Boxers & Support
    Replies: 3
    Last Post: 07-03-2008, 11:09 AM
  5. Moused over Window Becomes Target Window?
    By Silly Gooooose in forum Software Tools
    Replies: 5
    Last Post: 03-12-2008, 03:43 PM

Posting Rules

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