Page 1 of 1

keypress

Posted: Wed Jun 27, 2012 6:59 pm
by kiper
Ive searched and searched but all i need is a simple macro to press 1 key over and over just to pick up items in a game i play
i wont name the game here due to other people being able to google search :p

i have found that micromacro does work with this

i just need it to press the 9 key unlimited times till i stop it of course about 500 milliseconds between presses
i figured out how to attach it to the game but just need help getting a script to press that key and ive done 3 hours of searching to know avail,autohotkey will press the key but only while typing,it will not send it to my character like micromacro does.

Thanks for any help.

Re: keypress

Posted: Wed Jun 27, 2012 8:51 pm
by Administrator
I don't think you looked as hard as you claim.

Code: Select all

while(true) do
  keyboardPress(key.VK_9);
  yrest(500);
end

Re: keypress

Posted: Wed Jun 27, 2012 8:57 pm
by kiper
Thankyou but sorry i searched for 3 hours and i did find the fiestabot just nedded a simple one and neither the wiki nor here had what i was searching for.thank you again.

Re: keypress

Posted: Thu Jun 28, 2012 4:02 pm
by BillDoorNZ
yup...I tend to search for a bit and give up due to the restriction on how long you have to wait after a previous search....I'm too impatient to wait for long enough to be able to search again

Re: keypress

Posted: Thu Jun 28, 2012 6:49 pm
by lisa
for things like that I don't search the forum, I use notepad ++ and search all files in the rombot folder, much more effective.
Rombot already has usage for pretty much everything you might want to do with MM.