Log in

View Full Version : Mouse clicking with Autohotkey



Kalikiano
03-31-2009, 09:46 AM
I have been using Autohotkey from 1-40 on my main/RAF account and absolutely love it. My setup is a ret pally/balance druid. My druid just got hurricane and I want to be able to add that in occasionally on the big AOE pulls. I have found a program called hotkeynet and using it I am able to mouse click script but I like autohotkey better(little more user friendly) and would like to know if you can add a mouse click script to autohotkey?

Thanks

Chorizotarian
03-31-2009, 11:18 AM
Yes, you definitely can. Check the documentation and look for an example here:
http://www.autohotkey.com/forum/

If someone can provide multibox-specific mouse code that would be great. It has been on my to-do list for a long time.

Kalikiano
03-31-2009, 11:53 AM
this is off of my original topic but after looking over your script It seems I could do alot better as far as spreading out. Write now I just have a follow/assist macro but 50% of the time my druid is facing the wrong direction when we get up close on mob so i have to move around so I can start blasting targets. The only thing to stop following that I use is I have left strafe set on a key I dont use so I just tap that and druid stops.

Is there an easy way to script the druid to hmm backup I guess without causing my main to backup. Maybe just keybind something like an F-key on druid as backup?

here is the other program I use. You may know how to script already so could get more out of it and its free. http://www.hotkeynet.com/

The only thing I have to do is rename wow windows wow1 and wow2 using hotkeynet, I started with a script that does that but couldnt get it to work so I deleted some stuff and fiddled with it and it works this way so I can cast hurricane while using my pallys screen.
the script I use there (sample wow script from hotkeynet site):
//-----------------------------------------------------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES
//-----------------------------------------------------------

<Label w1 Local SendWinM WoW1>
<Label w2 Local SendWinM WoW2>

//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------
<Hotkey CapslockOff 0-9, Plus, Minus, F1-F12, Numpad1-Numpad9, except W, A, S, D, Q, E>
<SendLabel w1, w2>
<Key %Trigger%>


//-----------------------------------------------------------
// BROADCAST MOUSE CLICKS. HOLD DOWN OEM3 (ON U.S. KEYBOARDS,
// THAT'S THE SQUIGGLE KEY IN UPPPER LEFT CORNER) WHEN YOU
// WANT TO BROADCAST.
//-----------------------------------------------------------
<UseKeyAsModifier Oem3>

<Hotkey CapslockOff Oem3 LButton, MButton, RButton, Button4, Button5>
<SendLabel w1, w2>
<ClickMouse %TriggerMainKey%>