help me with a script

Discussions and Tech Support related to the iMacros Google Chrome extension.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
FinalX
Posts: 4
Joined: Sun May 08, 2011 8:29 am

help me with a script

Post by FinalX » Sun May 08, 2011 8:48 am

hello, i have an script recorded it plays in firefox and also in IE.
but it is giving error in chrome all browser i start at same page but only chrome is erroring.
What operating system are you using? (please also specify language)
Windows 7 Dutch

Which browser(s) are you using? (include version numbers)
IE 9, Firefox 4.1, Chrome 11.0.696.65

with imacro version
IE 9 using 7.2.2.1254 ,Firefox 4.1 using 7.2.1.0 , Chrome 11.0.696.65 using 3.5.1

Chrome:VERSION BUILD=3510505 RECORDER=CR
Firefox: VERSION BUILD=7200328 RECORDER=FX
IE : VERSION BUILD=7200328 RECORDER=FX
i create for all browser separated scripts and things coz so as u can see the version is different

the error:
RuntimeError: element INPUT specified by VALUE:Attack! was not found, line: 4

Chrome script:

Code: Select all

VERSION BUILD=3510505 RECORDER=CR
URL GOTO=http://sigma.pokemonvortex.org/battle.php?bid=605
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=CENTER ATTR=*
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=CENTER ATTR=*
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=A ATTR=TXT:Rebattle<SP>Opponent
REFRESH
Firefox and also internet explorer script:

Code: Select all

VERSION BUILD=7200328 RECORDER=FX
TAB T=1
URL GOTO=http://sigma.pokemonvortex.org/battle.php?bid=605
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=14 TYPE=P ATTR=*
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Attack!
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=VALUE:Continue
TAG POS=1 TYPE=A ATTR=TXT:Rebattle<SP>Opponent
REFRESH
what to do to make it work???
Tom, Tech Support
Posts: 3448
Joined: Mon May 31, 2010 4:59 pm

Re: help me with a script

Post by Tom, Tech Support » Sat May 14, 2011 12:04 pm

Hello FinalX,

In general, iOpus cannot provide support for automating games as it is usually a violation of the game developer's terms of service to use automation tools like iMacros with their games.

Additionally, without having a login and being able to run your macro directly, it is not possible for us to determine if this is a regression bug in iMacros for Chrome or whether it is some other limitation of the beta version.
Regards,

Tom, iMacros Support
Post Reply