T Tyrantp New member Joined Jul 30, 2010 Messages 91 Reaction score 0 Points 0 Mar 25, 2011 #1 Been searching forums, and I feel dumb asking because I actually made one before. But, I just need a macro that spams 1 key with delays I can set..I remember it being like 8-9 lines, if anyone has one or can link me would <3 u.
Been searching forums, and I feel dumb asking because I actually made one before. But, I just need a macro that spams 1 key with delays I can set..I remember it being like 8-9 lines, if anyone has one or can link me would <3 u.
htw Developer Joined Aug 27, 2006 Messages 13,194 Reaction score 374 Points 83 Location Albuquerque, NM Mar 25, 2011 #2 You can use /keypress. Example, to press the 1 key (for hotkey 1), you would just do: /keypress 1 Delay is easy, just /delay xx, or /delay xxs (s = seconds, default is 10's of a sec without that or another time option). Are you saying you want someone to write out the macro for c/p, or is that enough info for you to throw it together yourself? Code: Sub Main /declare mydelay int outer 5 /if (${Defined[Param0]}) /varset mydelay ${Param0} :myloop /keypress 1 /delay ${mydelay}s /goto :myloop /return Untested, but that should give you the basic idea. htw
You can use /keypress. Example, to press the 1 key (for hotkey 1), you would just do: /keypress 1 Delay is easy, just /delay xx, or /delay xxs (s = seconds, default is 10's of a sec without that or another time option). Are you saying you want someone to write out the macro for c/p, or is that enough info for you to throw it together yourself? Code: Sub Main /declare mydelay int outer 5 /if (${Defined[Param0]}) /varset mydelay ${Param0} :myloop /keypress 1 /delay ${mydelay}s /goto :myloop /return Untested, but that should give you the basic idea. htw
B Blujahz Your spell fizzled! Joined Feb 9, 2007 Messages 553 Reaction score 1 Points 0 Mar 25, 2011 #3 Non-bards can use MQ2Twist for spamming 1 spell over and over.
P PeteyPablo Rogues Do It From Behind Joined Jun 29, 2006 Messages 371 Reaction score 3 Points 18 Location Upstate, NY Mar 25, 2011 #4 I use twist for summoning food all the time.
htw Developer Joined Aug 27, 2006 Messages 13,194 Reaction score 374 Points 83 Location Albuquerque, NM Mar 25, 2011 #5 Yeah, my impression was he wasn't looking to cast a spell.... I could be wrong! htw
T Tyrantp New member Joined Jul 30, 2010 Messages 91 Reaction score 0 Points 0 Apr 1, 2011 #6 That was exactly it TY HTW.
T Tyrantp New member Joined Jul 30, 2010 Messages 91 Reaction score 0 Points 0 Apr 26, 2011 #7 Ended up with somethin basic, can basically repeat the cycle as much as necessary..thanks again HTW. Code: |Keypress.mac |V1 Sub Main :loop /keypress 1 /delay 10s /keypress 2 /delay 10s /goto :loop /return /endmacro
Ended up with somethin basic, can basically repeat the cycle as much as necessary..thanks again HTW. Code: |Keypress.mac |V1 Sub Main :loop /keypress 1 /delay 10s /keypress 2 /delay 10s /goto :loop /return /endmacro