This is the full script that I have come up with so far to open two windows, with the websites being yahoo.com and google.com. ***To fully help me please copy this script, paste to Notepad, save as a .html file and run it on Firefox. You will notice a "Open Windows" button will appear. When you click on it the windows will open:
What I want to do is merge these two scripts, so that when I press that "Open Windows" button, the new window opens and the Tab key press is immediately simulated to move to the next field on the webpage.
If you copy the first script I wrote, and then paste it into a Notepad file, then save it as an .html file, and then open that file in Internet Explorer or Firefox you will see what I mean. When you run it, you will see a new window that has an "Open Windows" button. When you press the button, the new windows appear.
For instance I can open 10 windows, if I were to run this command: