Click to See Complete Forum and Search --> : Macro Program 2buttons clicked in browser


Sux0rZh@jc0rz
09-03-2003, 02:54 PM
does anyone know how to make a macro that will:

Click a button at coordinate(xxxx) wait 10 seconds, then click a button at coordinate (yyyy) wait 10 seconds, then repeat?

OR

Click a button with specific JS name on a page, wait 10 seconds, click a 2nd button with specific JS name on a page, wait 10 seconds, then repeat.

OR

make the mouse move to click at coordinates like in the first option

AdamBrill
09-03-2003, 05:17 PM
Try this:

setInterval("document.formname.buttonname.click();",20000);
setTimeout("setInterval(\"document.formname.button2name.click();\",20000);",10000);

Sux0rZh@jc0rz
09-03-2003, 05:42 PM
ok. but how does this macro work? how do i run scripts without them being in the websites sourcecode? Ima n00b to macro's

AdamBrill
09-03-2003, 06:20 PM
Umm... It has to be in the HTML source of the page. How are you planning to run any code without putting it in the source of the page?? The only thing you could do is make it an external script.

Sux0rZh@jc0rz
09-03-2003, 06:41 PM
Im talking about a macro that i run from my desktop that will press buttons on the browser window for me while im sleeping. they call those macro's in asherons call so mayby i confused ya? srry.

Sux0rZh@jc0rz
09-03-2003, 06:43 PM
I need a macro program that will simulate the hitting of the TAB key 8 times, ENTER, SHIFT-TAB 4 times, ENTER, loop.

I should be able to open a browser and start the macro program and it should automatically work with the first browser open.
Tried looking on google but havent found anything.