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

    Default AutoHotKey doesn't work

    Hi !
    I'm quite sure nobody have wrote about this problem, so I made a new topic.
    I use autohotkey since my third computer is being repaired, but it's seems like my scripts doesn't work, because pressing Z ( azerty ftw! ) make my main go forward, but make my reroll stand straigh and go forward like doing a thousand tiny steps instead of going forward running like my main do.
    I tried :
    WinGet, wowid, List, World of Warcraft
    ~Z::
    KeyWait, Z, D
    #IfWinActive, World of Warcraft
    {
    ControlSend,, Z, ahk_id %wowid1%
    ControlSend,, Z, ahk_id %wowid2%
    }
    Return


    then :
    WinGet, wowid, List, World of Warcraft
    #IfWinActive, World of Warcraft
    ~Z::
    ControlSend,,{Z down}{Z up}, ahk_id %wowid1%
    ControlSend,,{Z down}{Z up}, ahk_id %wowid2%
    return


    but same result for both : not what I had expected.

    Anyone have a solution ?
    Thanks all for your answers.

    Multimoni, http://multimoni.blogspot.com/

    PS: sorry for my bad english, I drop school years before :X

  2. #2

    Default

    Multi, in fact this has been mentioned quite a few times

    the way to get around it is to have key:: and Key UP:: settings

    eg.

    [code:1]z::
    ControlSend,,{z down} ahk_id %wowid1%
    ControlSend,,{z down} ahk_id %wowid2%
    return

    z up::
    ControlSend,,{z up} ahk_id %wowid1%
    ControlSend,,{z up} ahk_id %wowid2%
    return[/code:1]

  3. #3

    Default AutoHotKey doesn't work

    Thank a lot Djarid !
    So now I have :
    [code:1]WinGet, wowid, List, World of Warcraft
    ~z::
    #IfWinActive, World of Warcraft
    {
    ControlSend,,{z down}, ahk_id %wowid1%
    ControlSend,,{z down}, ahk_id %wowid2%
    }
    return
    ~z up::
    #IfWinActive, World of Warcraft

    {
    ControlSend,,{z up}, ahk_id %wowid1%
    ControlSend,,{z up}, ahk_id %wowid2%
    }
    return
    [/code:1]
    and it work just perfect.
    Is there any reason for us not to use down AND up settings for every key, even 1, 2, 3 basicaly used to cast spells ?

    Thanks again,

    Multimoni.

  4. #4

    Default

    You only need to split the keypress and release for keys that you want to do stuff while you hold it down.

    if you don't split them, it is sending a quick keypress at the keyboard repeat rate.

    For normal actions a quick keypress is all that is required and so there is no mileage in splitting the key down and up stages.

    BTW.. you only need one #ifwinactive statement in your script as it applies to everything below that statement, should save some typing

  5. #5

    Default another problem with autohotkey

    Now, even if the Q, Z, S and D work fine, there is still something that make my clones unable to do EXACTLY what does the main do. When I turn left, they all do, but then there is a tiny difference between my caracters and after 3 ou 4 turns they don't even go in the same direction. I think the fact that typing "A" write "aa" on my the main windows when it write "a" on the others. Have I done anything wrong in the script ?
    Thank for the answer

    Multimoni

  6. #6

    Default

    Ok first off... even with hardware multiboxing, you can't control all your characters with the keyboard... you must use /follow or they will very quickly diverge.

    as for the double character send... get rid of the ~ before your hotkeys

    ~ means send this key to the focussed window as well as doing the defined action.

    so

    [code:1]~z::
    #IfWinActive, World of Warcraft
    {
    ControlSend,,{z down}, ahk_id %wowid1%
    ControlSend,,{z down}, ahk_id %wowid2%
    } [/code:1]

    lets z go to your active WoW

    then sends z to both instances.... not good

    replace it with (no ~)

    [code:1]z::
    #IfWinActive, World of Warcraft
    {
    ControlSend,,{z down}, ahk_id %wowid1%
    ControlSend,,{z down}, ahk_id %wowid2%
    } [/code:1]

  7. #7

    Default doesn't work neither

    It doesn't work better this way, I guess there is another thing I don't understand
    By the way, now I aware that I'll never be able to do the exact same thing with three characters. But I still want to try multiboxing three rogues twink.
    Am I the only one who ever tried that ?
    I mean, backstab is very hard to use with that combinaison, but cheapshot will be easier, right ?
    I'm uping two rogues since yesterday, and I'm every second more determinate to make this team.

    Thank for all yours answers and advices by the way!

    Moni,
    Multimoni.blogspot.com

Similar Threads

  1. Default autohotkey script doesn't work
    By luxlunae in forum Macros and Addons
    Replies: 4
    Last Post: 08-08-2008, 01:51 AM
  2. Autohotkey
    By ddzang in forum Software Tools
    Replies: 3
    Last Post: 01-13-2008, 08:46 PM
  3. Autohotkey
    By Anonymous in forum Software Tools
    Replies: 3
    Last Post: 09-25-2007, 09:23 AM
  4. AutoHotKey
    By Ellay in forum Software Tools
    Replies: 117
    Last Post: 09-10-2007, 02:03 PM
  5. autohotkey
    By homerjunior 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
  •