Can't get my autohotkey scripts to work

User-to-user help and troubleshooting.
Post Reply
juckto
Posts: 2332
Joined: Sat Jul 30, 2005 7:00 am
Location: NZ

Post by juckto »

For some reason autohotkey stops working as soon as I switch to Allegiance.

Even the simplest script:

CODEg::
Send z
return

(when you hit g, computer thinks you pressed z)

works in every application, except Allegiance.
Image
Usually though, "skill" is used to covertly mean "match the game exactly to my level of competence." Anyone who is at all worse than me should fail utterly (and humorously!) and anyone better is clearly too caught up in the game and their opinions shouldn't count.
Patman3
Posts: 259
Joined: Tue Jul 01, 2003 7:00 am
Location: Atlanta, GA

Post by Patman3 »

Not a solution but you bringing this up has literally saved me about 2-3 hours of work. This god forsaken program I'm using makes me change everything line by line (no export/import) and now all I have to do is click and press a button (vs manually edit 2000+ lines).

THANKS! :thumbsup:
juckto
Posts: 2332
Joined: Sat Jul 30, 2005 7:00 am
Location: NZ

Post by juckto »

Oh yeah, Autohotkey can be a pretty powerful tool. You can set up switches, and if statements, and etc.

For instance, madp helped me write a script that would open a chatbox to your wing, then when you finished the message (or hit esc to cancel) it would switch back to chatting to team so you didn't have to worry about your next message going to the wrong recipient.
Last edited by juckto on Fri Oct 10, 2014 9:21 pm, edited 1 time in total.
Image
Usually though, "skill" is used to covertly mean "match the game exactly to my level of competence." Anyone who is at all worse than me should fail utterly (and humorously!) and anyone better is clearly too caught up in the game and their opinions shouldn't count.
HSharp
Posts: 5192
Joined: Fri Aug 11, 2006 11:18 am
Location: Brum, UK

Post by HSharp »

You running as admin?

Or also try this.

I haven't used AHK since ACSS but I also don't think I used it in Windows 7 either...
Image
Image
OldDragon
Posts: 23
Joined: Wed Jul 05, 2006 9:17 pm
Location: Oregon

Post by OldDragon »

Been a while since I'ev used autohotkey but you might need to send the key in a specific mode for Allegiance to receive it.
juckto
Posts: 2332
Joined: Sat Jul 30, 2005 7:00 am
Location: NZ

Post by juckto »

I looked into that help page, HSharp, but still couldn't get a solution. From reading it, I should be coding "Sendplay" instead of "Send", but I think I'm doing something wrong because when I try that the key becomes completely unresponsive.

That is,
Using Send: 'g' sends 'z' in every application except Allegiance. In Allegiance 'g' sends 'g'
Using SendPlay: 'g' does nothing in every application except Allegiance. It doesn't even send 'g'. In Allegiance 'g' sends 'g'
Image
Usually though, "skill" is used to covertly mean "match the game exactly to my level of competence." Anyone who is at all worse than me should fail utterly (and humorously!) and anyone better is clearly too caught up in the game and their opinions shouldn't count.
yiggz
Posts: 179
Joined: Sat May 10, 2008 8:50 am
Location: Moon of Kahazarri-IX

Post by yiggz »

i lost my AHK script for allegiance but as I remember, I prioritized allegiance.exe in script, haven't the fogiest what I wrote. Also I had to always right click and run as administrator or it wouldn't work.
Post Reply