| View previous topic :: View next topic |
| Author |
Message |
dONThATEmE Guest
|
Posted: Thu Sep 10, 2009 8:20 pm Post subject: I cant get the hot key to work in game.. |
|
|
ok im trying to write script i can get it to to work on my desktop but as soon as i open the window for my game Amerca's Army the hot key doesn't work and goes to normal play what am i doing wrong?
Lbutton::
Loop,3
{
Send, Lbutton
Sleep 100
}
Return |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 3254 Location: Simi Valley, CA
|
|
| Back to top |
|
 |
Guest
|
Posted: Thu Sep 10, 2009 8:59 pm Post subject: |
|
|
| ok that didnt answer anything thanks for being a smarta** and if i understood the FAQ i wouldnt be on here. |
|
| Back to top |
|
 |
Zoud Guest
|
Posted: Thu Sep 10, 2009 9:17 pm Post subject: |
|
|
Although you may think he's being a smart ass, he is correct, and you should listen to him.
Your code also doesn't have any escape triggers, so even if it were to work you would be stuck in-game with your mouse clicking non-stop (give the 100 miliseconds).
Once you get a clue as to how to respect others for trying to help you, try adding this into your script to stop the auto-clicking:
| Code: | !U:: ; Alt & U is the trigger
ExitApp
return |
|
|
| Back to top |
|
 |
Guest
|
Posted: Thu Sep 10, 2009 9:26 pm Post subject: |
|
|
im Sorry you are right im just really frustrated. what im trying to do is shoot and crouch and reload with a simple click i cant get it in game. it works on my desktop but i cant get it in game what do i need to edit here's ans update. ive also binded LCTRL as alt fire.
but its still not workin in game.
Send {LCtrl}
Send, {c}
Loop,31
{
Send {LCtrl}
Sleep 100
}
SEND {R}
Return |
|
| Back to top |
|
 |
AnttiV
Joined: 14 Aug 2009 Posts: 237 Location: Finland
|
Posted: Thu Sep 10, 2009 10:34 pm Post subject: |
|
|
This needs to be in some sort of FAQ soon
Games are tricky b*stards
You need to experiment with SendMode and/or SetKeyDelay to see if that makes any difference. (just a pointer, it took me three days and countless tries to find the combination that worked with HAWX, but now it works perfectly )
also, learn to use the code tags, please?
| Code: | | [code]Insert code here[/code] |
|
|
| Back to top |
|
 |
Guest
|
Posted: Fri Sep 11, 2009 2:27 pm Post subject: |
|
|
| ok so now im just trying something simple like an autofire....very simple loop but when i run script now it just goes away it stop running whats going on? |
|
| Back to top |
|
 |
n55w131
Joined: 23 Sep 2009 Posts: 1
|
Posted: Wed Sep 23, 2009 5:38 pm Post subject: Excuse Me! |
|
|
To some extent I agree and dis-agree with your comments.
1) Just because there is already a post for a similar question. There is always more than one answer/solution and maybe he is looking for additional ones he could not find?
2) There is nothing wrong with how he posted. Just because it doesn't match your suggested syntax, why type things we already know? Maybe he doesn't know?
3) In any case if you can't respond with constructive help, then please refrain from posting. It hurts the profile of people asking for help if all you do is cut them down for asking.
Just my 2 cents... |
|
| Back to top |
|
 |
AnttiV
Joined: 14 Aug 2009 Posts: 237 Location: Finland
|
Posted: Wed Sep 23, 2009 6:02 pm Post subject: Re: Excuse Me! |
|
|
| n55w131 wrote: |
To some extent I agree and dis-agree with your comments.
1) Just because there is already a post for a similar question. There is always more than one answer/solution and maybe he is looking for additional ones he could not find?
2) There is nothing wrong with how he posted. Just because it doesn't match your suggested syntax, why type things we already know? Maybe he doesn't know?
3) In any case if you can't respond with constructive help, then please refrain from posting. It hurts the profile of people asking for help if all you do is cut them down for asking.
Just my 2 cents... |
1) you did notice he really posted the same question twice? As in both posts the poster is the same person? That's what VxE meant.
2) I can't say there's nothing wrong with the post, as it is a common practice to use the CODE tags when posting code. but this is not what the second point was about. It was about not waiting enough to get answers and just posting the question again. This forum has helpers from all time zones, you can't expect them to be online at all hours. Not everyone is expert at everything.
3. Well, that's what moderator really DO, you know? If they'd let the forum run without correcting (even minor) "mistakes", where would we be? This seems to be extraordinarily nice forum, the mods don't really need to do much, but what if nobody said anything about those things and people started posting multiple threads about the same question in short time? We'd only have a forum full of posts posted three minutes apart that only ask the same question over and over again. I'd much prefer a little correction now and then to that, |
|
| Back to top |
|
 |
Eedis
Joined: 12 Jun 2009 Posts: 1158 Location: Indianapolis IN, USA
|
Posted: Thu Sep 24, 2009 6:03 am Post subject: |
|
|
This thread has completely veered off topic. _________________ www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
 |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Sep 24, 2009 11:20 am Post subject: |
|
|
didnt read all of this..but one time when i played a game on the computer, i wanted to play it with the mouse, not keyboard but then it didnt work right, so then i just put it a little slower
| Code: | | LButton::send,z ;it did not work :0 |
| Code: | LButton::send {z down} ;first down
LButton Up::send {z up} ;it did work ^^ |
maybe that helps?..sorry didnt read into any farther |
|
| Back to top |
|
 |
|