Close
Page 6 of 7 FirstFirst ... 4 5 6 7 LastLast
Showing results 51 to 60 of 64
  1. #51

    Default

    so i forgot about something...

    quests....

    i know how to have the second character target the quest giver but how do i get him to talk and accept?
    i think accept is like /script acceptquest() right?

    EDIT:

    is there a way to make the other character run up into melee range of the target?

  2. #52

    Default

    Quote Originally Posted by Destro
    so i forgot about something...

    quests....

    i know how to have the second character target the quest giver but how do i get him to talk and accept?
    i think accept is like /script acceptquest() right?

    EDIT:

    is there a way to make the other character run up into melee range of the target?
    I don't currently multi-box, as I am currently planning and researching. I can however answer this. To get quests, you basically have your main character take a quest, then share it with the secondary character... Once your main has shared the quest hit your "/script AcceptQuest();" macro from the secondary char. This will accept the shared quest.

    As for the running up to melee range part, well I would assume in your keybindings you would have some unique movement keys for your secondary character. This would allow you to run him into melee range.

  3. #53

    Default

    thanks i forgot about sharing quests

    i think i know how im gonna make the running work 2 now

  4. #54

    Default

    ok i think iv got everything to work!!!

    thanks you alot everyone


    im getting my second of copy of wow Friday
    but wot be able to play till Saturday


    so i still have 2 days to chose classes and world

    is that wow class guide good in the mmo section of the forum?
    i want to get a pro opinion on it before i use it to help decide

  5. #55

    Default

    sorry for posting 3 times in a row but i decided 1 or both are going to be a hunter
    now i just have to chose a race

    what would go good with hunter

    warlock?
    mage?
    hunter?

  6. #56

    Default

    Quote Originally Posted by Destro
    sorry for posting 3 times in a row but i decided 1 or both are going to be a hunter
    now i just have to chose a race

    what would go good with hunter

    warlock?
    mage?
    hunter?
    I think the best answer to that would be to try yourself.

    Roll the hunter and swap in a few other classes. You'll soon see what combo's work best for you. People have provided you with a lot of information in this thread, and it's mostly available elsewhere. I think testing this yourself would be the best route to find the answer to class combo's

  7. #57

    Default

    thank you all alot

    ill be picking up my second copy tomorrow!

    and once again thank you all you made this allot easier and faster for me than i could do by myself

    ill probably post again after i lvl up some

  8. #58

    Default AutoHotkey.. Just takes the right code

    Autohotkey is just fine. If you're wanting to run two or more accounts on the same machine you need nothing more than a good piece of code. I found several basic scripts and meshed them together, even added my own code with limited knowledge of XML.

    I can press the middle mouse button on the hotbars to have the secondary toon cast the corresponding spell, Shift+Arrow keys to move the other toon from the main side, and it's got a checker to see which window is gonna be the one you're working from. Of course, there are also key presses to be sent to the other account, but you already seem to know how to do that.

    I use a hunter and a priest, myself, I like the dynamics that these two classes can have and the gameplay style.

    It takes some setting up, though. The key bindings should all be redone so that the alternate's macros fire when it receives the 'controlsend'.

    On the hunter's side, the first bottom left action bar has a blank macro with a picture of a wolf (that's my pet). On the priest's side, there's the same picture but the with the macro : /target arbil.

    2, the second, is for 'Target Main'.. /target arbez

    3, the third is 'Target Self and Shield' since any time the priest would need to be selected would be when she is in danger and needs some help. I had toyed with making her fade but sometimes the fade is still on cooldown... So shield is best, just in case.. And the fade.

    4 is for shield, 5,6,7,8,9, and 0 are all heals. The minus key is follow, and the equal sign is assist, or 'Focus on Main's Target'.
    The next few spots on the hotbar are reserved for the hunter's melee abilities, and on the bottom right action bar I have all the priest's damage spells, keybound to 'qwertyuio'.

    If I were attacking something, I could just Mid-Click the 'Focus' button and Mid-Click the spell I'd want her to cast. I could also throw in a sleep 3000 in AHK (wait 3 seconds) and then have her cast another damaging spell by sending another automated click, so it's be a one-button damage macro. I don't use this because it might be considered an exploit, and because I may actually need her to heal at any given time, so I like to keep her free for that.

    I could also press the numbers that correspond with the abilities and spells, for instance pressing 1456 would put a shield on the pet, cast a renew, and a prayer of mending on the pet. I've got letter keys for the damaging spells. Pressing =qwe would put a Shadow Word: Pain on the hunter's target followed by a Mind Blast, then start casting a long slow Holy Fire so that the hunter can start burning his cooldowns and put some damage down range. After a while you get into a good rotation. Of course there is a global cooldown on the spells so you couldn't just mash the buttons very fast, you have to pace it out.

    I had problems with the windows being chosen by AHK as the default windows, so I found a script that takes care of that problem:

    ;<<<BEGIN SCRIPT>>>

    ;SplashTextOn, 325, , Preparing to find your Main and Clone windows of WoW.
    ;Sleep, 1500
    ;SplashTextOff

    ;Grab unique window ID
    WinGet, wowid, List, World of Warcraft

    ; Minimize All WOW windows
    WinMinimize, ahk_id %wowid1%
    WinMinimize, ahk_id %wowid2%

    ;Determine Main and Clone Windows
    WinActivate, ahk_id %wowid1%

    MsgBox, 4,, Is this your WOW Main window? (press Yes or No)
    IfMsgBox Yes
    idMain = %wowid1%
    else
    idMain = %wowid2%

    If idMain = %wowid1%
    {
    idClone = %wowid2%
    } else {
    idClone = %wowid1%
    }

    ;Activate All WOW windows
    WinActivate, ahk_id %idMain%
    WinActivate, ahk_id %idClone%

    ;<<<END SCRIPT>>>


    Next in the script is the part where I learned how to make one follow the other by a key press, from only the hunters side. By this time I was mightily intrigued with what autohotkey could do..


    ;<<<BEGIN SCRIPT>>

    ;*** Special Functions ***

    #IfWinActive, World of Warcraft
    ; *** Makes wow2 follow Wow1 Player ***
    ^-::
    ControlSend,,{- down}{- up}, ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    ; *** Makes wow2 Assist Wow1 Player ***
    ^=::
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    return

    ;<<<END SCRIPT>>>

    Next I found the code that allowed me to click on my screen and make the priest do her spells. This really blew me away! I couldn't sleep at night thinking about how awesome this was.

    ;<<<BEGIN SCRIPT>>>

    ; Middle Mouse Button
    #IfWinActive, World of Warcraft
    ~MButton::
    {

    If MouseInRange(78,117,892,930)
    ControlSend,, 1 , ahk_id %idClone%

    else if MouseInRange(125,164,892,930)
    ControlSend,, 2 , ahk_id %idClone%

    else if MouseInRange(172,212,892,930)
    ControlSend,, 3 , ahk_id %idClone%

    else if MouseInRange(219,259,892,930)
    ControlSend,, 4 , ahk_id %idClone%

    else if MouseInRange(266,306,892,930)
    ControlSend,, 5 , ahk_id %idClone%

    else if MouseInRange(314,353,892,930)
    ControlSend,, 6 , ahk_id %idClone%

    else if MouseInRange(361,400,892,930)
    ControlSend,, 7 , ahk_id %idClone%

    else if MouseInRange(408,447,892,930)
    ControlSend,, 8 , ahk_id %idClone%

    else if MouseInRange(455,494,892,930)
    ControlSend,, 9 , ahk_id %idClone%

    else if MouseInRange(503,542,892,930)
    ControlSend,, 0 , ahk_id %idClone%

    else if MouseInRange(550,589,892,930)
    ControlSend,, - , ahk_id %idClone%

    else if MouseInRange(598,636,892,930)
    ControlSend,, = , ahk_id %idClone%

    else if MouseInRange(792,832,892,930)
    ControlSend,, q , ahk_id %idClone%

    else if MouseInRange(840,879,892,930)
    ControlSend,, w , ahk_id %idClone%

    else if MouseInRange(887,927,892,930)
    ControlSend,, e , ahk_id %idClone%

    else if MouseInRange(933,974,892,930)
    ControlSend,, r , ahk_id %idClone%

    else if MouseInRange(982,1021,892,930)
    ControlSend,, t , ahk_id %idClone%

    else if MouseInRange(1029,1069,892,930)
    ControlSend,, y , ahk_id %idClone%

    else if MouseInRange(1076,1116,892,930)
    ControlSend,, u , ahk_id %idClone%

    else if MouseInRange(1124,1163,892,930)
    ControlSend,, i , ahk_id %idClone%

    else if MouseInRange(1171,1210,892,930)
    ControlSend,, o , ahk_id %idClone%

    }

    return

    MouseInRange(minx,maxx,miny,maxy)
    {
    MouseGetPos, x, y
    If (y >= miny) and (y <= maxy) and (x >= minx) and (x <= maxx)
    Return 1
    Return 0
    }

    ;<<<END SCRIPT>>>


    Your numbers might be different. Inside AHK you'll go to FILE-> WINDOW SPY then look for >>>(Mouse Position)<<<, and it's going to give you two sets of numbers. The one where it says 'In Active Window' will be the one you want, but you must be sure that WoW is selected and is the main window (don't click in the AHK window that it pops up).

    This script: "else if MouseInRange(1171,1210,892,930)" is the UP, DOWN, LEFT, and RIGHT coordinates of the box you want to test for. In other words, the mouse cursor needs to be in that square of screen for the correct key to be sent. You'll need to write down the numbers given for the upper left corner of the Action Bar Icon and the lower right corner of the Action Bar Icon.This might take some patience in your testing but once you get it right you will love this feature. I don't know if KeyClone has this, but either way I didn't want to pay for something if I could figure it, and possibly do it better, myself.

    The script: "ControlSend,, 1 , ahk_id %idClone%" sends that keypress to the other account.


    This still wasn't good enough for me, I wanted to remotely manipulate the other character using SHIFT+Arrow keys. The way I play, I cast a shield on the pet, round up mobs, get them in a group, cast misdirect on the pet and volley aoe, and that gives a bit of aggro from each mob onto the pet. At this point I used to switch over to the priest and make her run into the fray and blast her Holy Nova AOE. However once I added the following script all I had to do was press 'SHIFT+UP' to make her run in while I waited for volley to finish and cast multishot (or a series of aimed shot on one, Steady shot on another, and Multishot for the final misdirect charge). I know that's a bit more information than is needed but that's the way I do it. I easily take down two groups of Stratholme undead mobs that way. Well here's the script:

    ;<<<BEGIN SCRIPT>>>

    #IfWinActive, World of Warcraft
    +Right::
    ControlSend,, Send {Right down} , ahk_id %idClone%
    Sleep 230
    ControlSend,, Send {Right up} , ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    +Left::
    ControlSend,, Send {Left down} , ahk_id %idClone%
    Sleep 230
    ControlSend,, Send {Left up} , ahk_id %idClone%
    return


    #IfWinActive, World of Warcraft
    +Up::
    ControlSend,, Send {Up down} , ahk_id %idClone%
    Sleep 2000
    ControlSend,, Send {Up up} , ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    +Down::
    ControlSend,, Send {Down down} , ahk_id %idClone%
    Sleep 2000
    ControlSend,, Send {Down up} , ahk_id %idClone%
    return


    #IfWinActive, World of Warcraft
    +End::
    ControlSend,, Send {Up down} , ahk_id %idClone%
    Sleep 1000
    ControlSend,, Send {Up up} , ahk_id %idClone%
    ControlSend,, Send {Right down} , ahk_id %idClone%
    Sleep 1000
    ControlSend,, Send {Right up} , ahk_id %idClone%
    return

    ;<<<END SCRIPT>>>

    (I threw in 'Shift End' because I also have two druids, if both are in bear form, the second bear can run through and turn around 180 degrees and attack the rear of the mob we're fighting.)

    Finally the key presses:



    ;<<<BEGIN SCRIPT>>>

    ; *******************
    ; *** Hotbars 1-0 ***
    ; *******************
    #IfWinActive, World of Warcraft
    ~1::
    ControlSend,,{1 down}{1 up}, ahk_id %idMain%
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    ControlSend,,{1 down}{1 up}, ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    ~2::
    ControlSend,,{2 down}{2 up}, ahk_id %idMain%
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    ControlSend,,{2 down}{2 up}, ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    ~3::
    ControlSend,,{3 down}{3 up}, ahk_id %idMain%
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    ControlSend,,{3 down}{3 up}, ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    ~4::
    ControlSend,,{4 down}{4 up}, ahk_id %idMain%
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    ControlSend,,{4 down}{4 up}, ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    ~5::
    ControlSend,,{5 down}{5 up}, ahk_id %idMain%
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    ControlSend,,{5 down}{5 up}, ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    ~6::
    ControlSend,,{6 down}{6 up}, ahk_id %idMain%
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    ControlSend,,{6 down}{6 up}, ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    ~7::
    ControlSend,,{7 down}{7 up}, ahk_id %idMain%
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    ControlSend,,{7 down}{7 up}, ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    ~8::
    ControlSend,,{8 down}{8 up}, ahk_id %idMain%
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    ControlSend,,{8 down}{8 up}, ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    ~9::
    ControlSend,,{9 down}{9 up}, ahk_id %idMain%
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    ControlSend,,{9 down}{9 up}, ahk_id %idClone%
    return

    #IfWinActive, World of Warcraft
    ~0::
    ControlSend,,{0 down}{0 up}, ahk_id %idMain%
    ControlSend,,{= down}{= up}, ahk_id %idClone%
    ControlSend,,{0 down}{0 up}, ahk_id %idClone%
    return

    ;<<<END SCRIPT>>>

    So that's it. Just piece these together (Copy and paste into notepad and save it as 'HawtKey.ahk' or whatever you wish to call it). You may want to only test certain portions of it at a time. You can leave out anything that starts with a semicolon, that's just remarks that the computer doesn't process.

    You can modify this for three or more accounts if you wish but that's going to take some extra simple coding. You could even plot out the other action bars if you feel the need for other functions.

    If you need any help you can email me directly at USMarineMP@gmail.com and I'll see what I can do to help. Make the subject header in the email say AHK so I won't delete it right away (I get tons of junk). Anyway, I hope this helps. You can always try out KeyClone but as for me I don't feel the need to, I got my code worked out and I love it. It was frustrating at first but progressively got easier as I went along. I think all you need is what I've put in this post but if you do feel the need for more input I'd be happy to give you my support, I am just an email away.

    Arbez

  9. #59

    Default

    [code:1]killbroadcast = 0
    WinGet, wowid, List, World of Warcraft

    ~Pause::
    KeyWait, Pause, D
    If(%killbroadcast% = 0)
    {
    killbroadcast = 1
    }
    else
    {
    killbroadcast = 0
    WinGet, wowid, List, World of Warcraft
    }
    Return

    ~1::
    KeyWait 1, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, 1, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~2::
    KeyWait 2, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, 2, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~3::
    KeyWait 3, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, 3, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~4::
    KeyWait 4, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, 4, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~5::
    KeyWait 5, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, 5, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~6::
    KeyWait 6, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, 6, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~7::
    KeyWait 7, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, 7, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~8::
    KeyWait 8, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, 8, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~9::
    KeyWait 9, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, 9, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~0::
    KeyWait 0, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, 0, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~-::
    KeyWait -, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, -, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~=::
    KeyWait =, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, =, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F1::
    KeyWait F1, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F1}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F2::
    KeyWait F2, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F2}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F3::
    KeyWait F3, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F3}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F4::
    KeyWait F4, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F4}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F5::
    KeyWait F5, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F5}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F6::
    KeyWait F6, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F6}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F7::
    KeyWait F7, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F7}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F8::
    KeyWait F8, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F8}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F9::
    KeyWait F9, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F9}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F10::
    KeyWait F10, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F10}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F11::
    KeyWait F11, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F11}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~F12::
    KeyWait F12, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {F12}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ;~a::
    ;KeyWait a, D
    ;WinGet, Active_Window, ID, A
    ;IfWinActive, World of Warcraft
    ;{
    ; If(%killbroadcast% = 0)
    ; {
    ; Loop, %wowid%
    ; {
    ; target_window := wowid%A_index%
    ; If (Active_Window <> target_window)
    ; {
    ; ControlSend,, a, ahk_id %target_window%
    ; }
    ; }
    ; }
    ;}
    ;Return

    ~b::
    KeyWait b, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, b, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~c::
    KeyWait c, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, c, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ;~d::
    ;KeyWait d, D
    ;WinGet, Active_Window, ID, A
    ;IfWinActive, World of Warcraft
    ;{
    ; If(%killbroadcast% = 0)
    ; {
    ; Loop, %wowid%
    ; {
    ; target_window := wowid%A_index%
    ; If (Active_Window <> target_window)
    ; {
    ; ControlSend,, d, ahk_id %target_window%
    ; }
    ; }
    ; }
    ;}
    ;Return

    ;~e::
    ;KeyWait e, D
    ;WinGet, Active_Window, ID, A
    ;IfWinActive, World of Warcraft
    ;{
    ; If(%killbroadcast% = 0)
    ; {
    ; Loop, %wowid%
    ; {
    ; target_window := wowid%A_index%
    ; If (Active_Window <> target_window)
    ; {
    ; ControlSend,, e, ahk_id %target_window%
    ; }
    ; }
    ; }
    ;}
    ;Return

    ~f::
    KeyWait f, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, f, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~g::
    KeyWait g, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, g, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~h::
    KeyWait h, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, h, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~i::
    KeyWait i, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, i, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~j::
    KeyWait j, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, j, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~k::
    KeyWait k, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, k, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~l::
    KeyWait l, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, l, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~m::
    KeyWait m, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, m, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~n::
    KeyWait n, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, n, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~o::
    KeyWait o, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, o, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~p::
    KeyWait p, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, p, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ;~q::
    ;KeyWait q, D
    ;WinGet, Active_Window, ID, A
    ;IfWinActive, World of Warcraft
    ;{
    ; If(%killbroadcast% = 0)
    ; {
    ; Loop, %wowid%
    ; {
    ; target_window := wowid%A_index%
    ; If (Active_Window <> target_window)
    ; {
    ; ControlSend,, q, ahk_id %target_window%
    ; }
    ; }
    ; }
    ;}
    ;Return

    ~r::
    KeyWait r, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, r, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ;~s::
    ;KeyWait s, D
    ;WinGet, Active_Window, ID, A
    ;IfWinActive, World of Warcraft
    ;{
    ; If(%killbroadcast% = 0)
    ; {
    ; Loop, %wowid%
    ; {
    ; target_window := wowid%A_index%
    ; If (Active_Window <> target_window)
    ; {
    ; ControlSend,, s, ahk_id %target_window%
    ; }
    ; }
    ; }
    ;}
    ;Return

    ~t::
    KeyWait t, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, t, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~u::
    KeyWait u, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, u, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~v::
    KeyWait v, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, v, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ;~w::
    ;KeyWait w, D
    ;WinGet, Active_Window, ID, A
    ;IfWinActive, World of Warcraft
    ;{
    ; If(%killbroadcast% = 0)
    ; {
    ; Loop, %wowid%
    ; {
    ; target_window := wowid%A_index%
    ; If (Active_Window <> target_window)
    ; {
    ; ControlSend,, w, ahk_id %target_window%
    ; }
    ; }
    ; }
    ;}
    ;Return

    ~x::
    KeyWait x, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, x, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~y::
    KeyWait y, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, y, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~z::
    KeyWait z, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, z, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~Space::
    KeyWait Space, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {Space}, ahk_id %target_window%
    }
    }
    }
    }
    Return

    ~/::
    KeyWait /, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    killbroadcast=1
    }
    }
    Return

    ~Enter::
    KeyWait Enter, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% <> 0)
    {
    killbroadcast = 0
    }
    else
    {
    killbroadcast = 1
    }
    }
    Return

    ~NumpadEnter::
    KeyWait NumpadEnter, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% <> 0)
    {
    killbroadcast = 0
    }
    else
    {
    killbroadcast = 1
    }
    }
    Return

    ~Backspace::
    KeyWait Backspace, D
    WinGet, Active_Window, ID, A
    IfWinActive, World of Warcraft
    {
    If(%killbroadcast% = 0)
    {
    Loop, %wowid%
    {
    target_window := wowid%A_index%
    If (Active_Window <> target_window)
    {
    ControlSend,, {Backspace}, ahk_id %target_window%
    }
    }
    }
    }
    Return
    [/code:1]

    Enjoy, its most of the keys

  10. #60

    Default

    Quote Originally Posted by elitegunslinger
    Enjoy, its most of the keys
    If I understand your script correctly then the whole killbroadcast thing is to suspend AHK if you press the Pause button, correct?

    You can quite easily do it by using AHKs "suspend" command which will eliminate all the confusing killbroadcast code in the script.

    Also, why do you have the "KeyWait" commands in there?

    [code:1]~1::
    KeyWait 1, D
    [/code:1]

    The ~1:: section is only entered when the 1 key is pressed and then you do a KeyWait for the 1 key to be pushed down. Why????
    The Orcks of War
    Shaman Borck Zorck Dorck Porck Corck
    Mixed Team - Msblonde - Mswhite - Msblack - Msred - Msbrown -

Similar Threads

  1. Duel boxing noob
    By kush in forum New Multi-Boxers & Support
    Replies: 4
    Last Post: 07-16-2009, 07:34 AM
  2. MAC Duel Boxing
    By Dirtyplay in forum New Multi-Boxers & Support
    Replies: 8
    Last Post: 06-26-2009, 01:14 AM
  3. New to Duel-Boxing
    By Famulatus in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 03-20-2009, 11:48 PM
  4. WOW Duel Account Controller - AutoHotkey Script
    By Sorn in forum General WoW Discussion
    Replies: 6
    Last Post: 07-30-2007, 11:21 AM
  5. Noob help with Autohotkey(and duel-boxing)
    By Destro in forum General WoW Discussion
    Replies: 0
    Last Post: 01-01-1970, 12:00 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
  •