Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Make a key press act as a double press of another key


  • Please log in to reply
2 replies to this topic
Zwizzor
  • Members
  • 1 posts
  • Last active: Dec 02 2015 08:29 PM
  • Joined: 25 Oct 2015

Hey guys, I playing Terraria and I would like to remap 'q' as 'aa' and 'e' as 'dd'. I tried

q::Send aa

e::Send dd

but it doesn't work. Could you help me please?



Exaskryz
  • Members
  • 3249 posts
  • Last active: Nov 20 2015 05:30 AM
  • Joined: 23 Aug 2012

Check out this thread to see how it works in a game. http://www.autohotke...mes-the-basics/

 

Actually, before that, make sure your script works in a program like Notepad. Your two-line code looks just fine to work, and I expect it's just your game that's the problem.



sporefreak
  • Members
  • 3 posts
  • Last active: Dec 23 2015 07:31 AM
  • Joined: 28 Oct 2015

If that's the exact same script you have set up then pressing q will send aa and dd
make sure you set up a "return" stop.

try putting a small delay between keys.
 

q::

send a

sleep 10

send a

return

e::

send d

sleep 10

send d

return



I assume you are trying to make an auto dash script for the Shield of Cthulu (and like items)
in that case, a small pause will work great. 10 milliseconds is perfect.