Values
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
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
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
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
Values
I'm a new user of imacros..i was using a macro for a site which was fine till now..
earlier the ATTR:Value was continue.
now its being dynamic..once it'll come as "continue!" next time "continue." and next time "continue.." etc..
their appearance is random..using * i can continue with these..but the real problem is sometimes the value will be " continue .." or " continue " etc..
is there anything i can do for these blank spaces??
or is there any way i can list all these possible values and let macros choose whichever one is suitable at the moment?
any help is appreciated..
earlier the ATTR:Value was continue.
now its being dynamic..once it'll come as "continue!" next time "continue." and next time "continue.." etc..
their appearance is random..using * i can continue with these..but the real problem is sometimes the value will be " continue .." or " continue " etc..
is there anything i can do for these blank spaces??
or is there any way i can list all these possible values and let macros choose whichever one is suitable at the moment?
any help is appreciated..
Re: Values
Add wildcard to the beginning as well.
Code: Select all
*ontinue*
Re: Values
Tried that...didn't work..dont know why..
any other suggestions??
any other suggestions??
Re: Values
to solve this problem we need to see html code of the page.
Get Best iMacros scripts at http://imacrosbot.com/
-
- Posts: 30
- Joined: Wed Oct 21, 2009 10:45 pm
Re: Values
I have the same problem as him, here is some source html..
<input type="hidden" id="nojs-solve-a" value="18" />
<input type="hidden" id="nojs-solve-b" value="7" />
<label style="font-size:13px;">Please solve the following 18 + 7 = <input id="nojs-solve-v" type="text" name="nojs-check" style="width:30px;padding:6px;font-size:13px;"></label>
<noscript><span style="display:block;color:#666;padding-top:10px;font-size:9px;">Note If you enable Javascript in your browser, you will no longer have to solve these puzzles.</span></noscript>
</div>
That part is only if java is disabled
This is the source for the button
<p><input type="submit" value="Continue . " /></p></form></div>
What it looks like on the browser and it seems it uses the first value that comes up on the first click for the whole time though on the browser and on imacro browser it shows differently
here is a quick recording in html
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:5449 ATTR=VALUE:<SP>Attack<SP>...
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:5570 ATTR=VALUE:Attack?<SP>
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:9116 ATTR=VALUE:<SP>Attack<SP>.<SP>
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:4844 ATTR=VALUE:Continue!<SP>
<input type="hidden" id="nojs-solve-a" value="18" />
<input type="hidden" id="nojs-solve-b" value="7" />
<label style="font-size:13px;">Please solve the following 18 + 7 = <input id="nojs-solve-v" type="text" name="nojs-check" style="width:30px;padding:6px;font-size:13px;"></label>
<noscript><span style="display:block;color:#666;padding-top:10px;font-size:9px;">Note If you enable Javascript in your browser, you will no longer have to solve these puzzles.</span></noscript>
</div>
That part is only if java is disabled
This is the source for the button
<p><input type="submit" value="Continue . " /></p></form></div>
What it looks like on the browser and it seems it uses the first value that comes up on the first click for the whole time though on the browser and on imacro browser it shows differently
here is a quick recording in html
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:5449 ATTR=VALUE:<SP>Attack<SP>...
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:5570 ATTR=VALUE:Attack?<SP>
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:9116 ATTR=VALUE:<SP>Attack<SP>.<SP>
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:4844 ATTR=VALUE:Continue!<SP>
Re: Values
you need to use javascript for this button
Get Best iMacros scripts at http://imacrosbot.com/
-
- Posts: 30
- Joined: Wed Oct 21, 2009 10:45 pm
Re: Values
Can you give an example?
Re: Values
sorry, I can not share solution, because it was sold to one of my customers
Get Best iMacros scripts at http://imacrosbot.com/
-
- Posts: 30
- Joined: Wed Oct 21, 2009 10:45 pm
Re: Values
I can pay for a solution. PM me?
Re: Values
What you actually need to do is to learn why using wildcard on *contunue* does not work.
There is no other way.
Maybe there are several such submit buttons on the page? Use Firebug console to learn more about the page.
Alternatively you might try to solve the puzzle with !SET EVAL and some javascript.
Why disable javascript in a browser though?
Also if you are writting a online game bot, please go to hell.
There is no other way.
Maybe there are several such submit buttons on the page? Use Firebug console to learn more about the page.
Alternatively you might try to solve the puzzle with !SET EVAL and some javascript.
Why disable javascript in a browser though?
Also if you are writting a online game bot, please go to hell.
Re: Values
ok, now I can share solution:
click continue to get in to the battle
click Attack while in the battle and Continue at the end
click continue to get in to the battle
Code: Select all
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:* ATTR=VALUE:*Continue*
Code: Select all
URL GOTO=javascript:document.forms[1].submit();
Get Best iMacros scripts at http://imacrosbot.com/
-
- Posts: 30
- Joined: Wed Oct 21, 2009 10:45 pm
Re: Values
I still don't understand
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:* ATTR=VALUE:*Continue*
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:* ATTR=VALUE:*Attack*
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:* ATTR=VALUE:*Continue*
as an im or js?
What is URL GOTO=javascript:document.forms[1].submit(); for?
Id really appreciate it if you shared the script ready to be used
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:* ATTR=VALUE:*Continue*
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:* ATTR=VALUE:*Attack*
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:* ATTR=VALUE:*Continue*
as an im or js?
What is URL GOTO=javascript:document.forms[1].submit(); for?
Id really appreciate it if you shared the script ready to be used
Re: Values
it's iim
click "Attack" button when you are in the battle and Continue when the battle is finished.
so after the battle is started you'll need to run several
Code: Select all
URL GOTO=javascript:document.forms[1].submit();
so after the battle is started you'll need to run several
Code: Select all
URL GOTO=javascript:document.forms[1].submit();
Get Best iMacros scripts at http://imacrosbot.com/
-
- Posts: 30
- Joined: Wed Oct 21, 2009 10:45 pm
Re: Values
Gotcha, it clicks the attack button perfectly fine, though it doesn't click the Continue button
With TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:* ATTR=VALUE:*Continue*
it only highlights the button but doesn't click it.
With TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:* ATTR=VALUE:*Continue*
it only highlights the button but doesn't click it.
-
- Posts: 30
- Joined: Wed Oct 21, 2009 10:45 pm
Re: Values
A little example
Continue Doesnt click
Attack Clicks
Continue Clicks
Continue Doesnt Click
Attack Clicks
Continue Clicks
Continue Doesnt click
Continue Doesnt click
Attack Clicks
Continue Clicks
Continue Doesnt Click
Attack Clicks
Continue Clicks
Continue Doesnt click