Keystroke Repeater

in Script development
Subscribe to Keystroke Repeater 4 posts, 2 voices



Blixzard User
ChromeWindows

Please forgive me if this is the incorrect place to post my question.

What I'm hoping to either accomplish or find is a simple script that will repetitively hit the enter key every one second. I've been using a macro recorder, but that will only allow me to run one page/tab at a time. Would like to be able to run multiple if possible.

I've spent some time this evening looking at some of the documentation that I could find, and much of it seems to refer to functions if a specific key is pressed. I'm not sure that I'm looking in the right place for what I need.

Any help in pointing me to a script that can do this, or to information that will help me do it myself would be greatly appreciated.

I can't imagine that this is terribly difficult, but I have to admit, I have no clue what I'm doing regarding javascript.

 
darooooooooool Scriptwright
FirefoxWindows

repetitively hitting the enter key on multiple pages. I can't think of a single useful purpose for this, but why not use separate windows?

an add-on, "imacros" will accomplish this easily.

..or simply use a script on each individual window, this will avoid having to change tabs. most browsers have a built in profile manager also, if you wish to do this from multiple accounts.

i guess, ultimately you need to describe in more detail why you would want to just hit the enter key. if you are just trying to click a button, use firebug or whatever to extract the name of the element. Then do a click function, you could extrapolate that code from many of the userscripts that already exist.

 
Blixzard User
ChromeWindows

Thanks for the reply darooooooooool.

This is for an auction site where a popup window comes up every time the value of the item changes. Hitting the enter key automatically sends your next bid.

Simply having a script to keep hitting enter for me will allow me to flip from tab to tab and monitor the prices. I can then just close the tab if I'm done bidding on an item.

I can look at the "imacros" add-on that you suggested. I just think that managing separate windows will be a little more challenging than simply hitting Ctrl+Tab to flip through the tabs.

 
darooooooooool Scriptwright
FirefoxWindows

alt + tab does the same thing for windows, i'm supposing you already knew this though.