Close
Showing results 1 to 8 of 8

Threaded View

  1. #5

    Post

    Quote Originally Posted by Temsen
    i have no idé how to use "Healing Rain"
    I have a test button to verify mouseclick function in AHK initially.

    Code:
    Test1Btn:
    CoordMode, Mouse, Screen
    MouseClick, left, 820, 830, 2
    return Then I expand the code to the following, CoordMode, Mouse, Screen MouseGetPos, MX, MY Loop, %MaxAcct% ; loop thru all your wow accounts {
    if ( ACT%A_Index%Role = 3 ) ; for healers only
    {
    this_id := WowWinId%A_Index% if this_id <> 0 {
    str = {Shift down}{F6 down}{F6 up}{Shift up} ; get healer to call healing macro. The macro is called via SHIFT-F6 in wow in my case ClonePush(str, this_id)
    ; translate MX & MY to slave screen coordinate, and store in tx, RY ..... MouseClick, left, tx, RY, 2 ; double left click at healer screen. tx,Ry is the calculated coordinate, based on MY, MY and CoorMode ; may need to insert delay here, it depends on your system's responsiveness to mouse click on non topmost screen
    }
    }
    } MouseClick, left, MX, MY, 2 ; move mouse back to main window return

    This is old code and not optimized. For sure there are better ways to achievement this in AHK. Will be glad to learn from other players.

    Quote Originally Posted by Temsen
    How does a script look for Autohotkey if i want to bind shift 1-6 ? I havent got that to work at all :/
    I assume you are familiar with wow macro and key binding

    Code:
    ; ***************************
    ; *** Hotbars SHIFT(+) 1-0 ***
    ; ***************************
    ~+1::ClonesPush("{Shift down}{1 down}{1 up}{Shift up}")
    ~+2::ClonesPush("{Shift down}{2 down}{2 up}{Shift up}")
    ~+3::ClonesPush("{Shift down}{3 down}{3 up}{Shift up}")
    ~+4::ClonesPush("{Shift down}{4 down}{4 up}{Shift up}")
    ~+5::ClonesPush("{Shift down}{5 down}{5 up}{Shift up}")
    Hopefully I answered your questions. Have fun!
    Last edited by MiRai : 03-23-2012 at 09:13 AM Reason: Put Code In [CODE] Tags

Posting Rules

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