keypress

You may request or share scripts for MicroMacro in this forum.
Post Reply
Message
Author
kiper
Posts: 2
Joined: Wed Jun 27, 2012 6:43 pm

keypress

#1 Post by kiper » Wed Jun 27, 2012 6:59 pm

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.

User avatar
Administrator
Site Admin
Posts: 4865
Joined: Sat Jan 05, 2008 4:21 pm

Re: keypress

#2 Post by Administrator » Wed Jun 27, 2012 8:51 pm

I don't think you looked as hard as you claim.

Code: Select all

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

kiper
Posts: 2
Joined: Wed Jun 27, 2012 6:43 pm

Re: keypress

#3 Post by kiper » Wed Jun 27, 2012 8:57 pm

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.

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: keypress

#4 Post by BillDoorNZ » Thu Jun 28, 2012 4:02 pm

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

User avatar
lisa
Posts: 8330
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: keypress

#5 Post by lisa » Thu Jun 28, 2012 6:49 pm

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.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest