| View previous topic :: View next topic |
| Author |
Message |
autohotkey nub Guest
|
Posted: Mon Jun 16, 2008 8:12 pm Post subject: Macro for game |
|
|
When I run that thread in a notepad file or a instant message box, and I press the t, I get the r. But when I press the t while playing a game, I do not get a reload. If I set the Send command to "Send f" I get the f in a chatbox, but not a melee attack ingame. Whats the problem?
[Title edited. Please write descriptive titles for your topics. ~jaco0646] |
|
| Back to top |
|
 |
PurloinedHeart
Joined: 04 Apr 2008 Posts: 209 Location: Canada
|
Posted: Mon Jun 16, 2008 8:23 pm Post subject: |
|
|
| Try SendPlay? |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 16, 2008 8:33 pm Post subject: |
|
|
| PurloinedHeart wrote: | | Try SendPlay? |
| Code: | shift::
Send f
SetKeyDelay 1000, Play
Send r
SetKeyDelay 1000, Play
Click
return |
It still doesnt work |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1145 Location: The Interwebs
|
Posted: Mon Jun 16, 2008 8:34 pm Post subject: |
|
|
He means:
Sendplay, f
Sendplay, r
etc |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 16, 2008 8:46 pm Post subject: |
|
|
| Code: | shift::
Sendplay, f
Sleep 1000
Sendplay, r
Sleep 1000
Click
return |
that doesnt work. the only thing that works in that is the click. |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1145 Location: The Interwebs
|
Posted: Mon Jun 16, 2008 8:49 pm Post subject: |
|
|
try:
| Code: | shift::
SetKeyDelay,,10,Play
Sendplay, f
Sleep 1000
Sendplay, r
Sleep 1000
Click
return |
|
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 16, 2008 8:50 pm Post subject: |
|
|
| Code: | t::
Sendplay, f
Sendplay, r
Click
return |
this doesnt work either |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 16, 2008 8:53 pm Post subject: |
|
|
| Krogdor wrote: | try:
| Code: | shift::
SetKeyDelay,,10,Play
Sendplay, f
Sleep 1000
Sendplay, r
Sleep 1000
Click
return |
|
this doesnt work |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1145 Location: The Interwebs
|
Posted: Mon Jun 16, 2008 8:59 pm Post subject: |
|
|
| Well then, sounds like your game won't accept simulated keystrokes... So, basically... I don't think there is a solution for you. |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 16, 2008 9:05 pm Post subject: |
|
|
| Krogdor wrote: | | Well then, sounds like your game won't accept simulated keystrokes... So, basically... I don't think there is a solution for you. |
its halo 2 for pc. why wont it accept stimulated keystokes? the only thing that worked from that command was the mouse click. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6847 Location: Pacific Northwest, US
|
Posted: Mon Jun 16, 2008 9:12 pm Post subject: |
|
|
please read This FAQ page _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 16, 2008 10:17 pm Post subject: |
|
|
can you please make a script for me that you think will work. |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 16, 2008 10:57 pm Post subject: |
|
|
| Code: | This_FAQ_page = http://www.autohotkey.com/docs/FAQ.htm#games
Run, %This_FAQ_page% |
 |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6847 Location: Pacific Northwest, US
|
Posted: Tue Jun 17, 2008 2:43 pm Post subject: |
|
|
| Quote: | | can you please make a script for me that you think will work. |
Um.... no.
I don't have time for games, and I have no time for people who ask for non-trivial scripts when that person has shown no work based on the available advice.
Search the forum for your game, and you may find that someone has either tried and failed, or tried and succeeded.
To succeed, you must try. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
argneo
Joined: 14 Sep 2007 Posts: 136
|
Posted: Tue Jun 17, 2008 7:27 pm Post subject: |
|
|
Try to make something from the wow macros... you may have to learn a bit to change it, but they are overall simple _________________ WoW |
|
| Back to top |
|
 |
|