BUG? TAG with ATTR&&ATTR Working in iim but doesn't under js

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
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
oobe
Posts: 5
Joined: Thu Apr 21, 2011 1:21 pm

BUG? TAG with ATTR&&ATTR Working in iim but doesn't under js

Post by oobe » Sat Apr 23, 2011 10:20 am

//This is working:

Code: Select all

TAG POS=1 TYPE=SPAN ATTR=CLASS:planet-koords&&TXT:[7:1:5]
//In iMacros javascript under firefox doesn't

Code: Select all

iimPlay("TAG POS=1 TYPE=SPAN ATTR=CLASS:planet-koords&&TXT:[7:1:5]");
iimPlay("TAG POS=1 TYPE=SPAN ATTR=CLASS:\"planet-koords\"&&TXT:\"[7:1:5]\"");

Code: Select all

//RuntimeError: Macro TAG POS=1 TYPE=SPAN ATTR=CLASS:planet-koords&&TXT:[7:1:5].iim not found (Error code: -930)
//RuntimeError: Macro TAG POS=1 TYPE=SPAN ATTR=CLASS:"planet-koords"&&TXT:"[7:1:5]".iim not found (Error code: -930)
Everything testing in iMacros 7.2.1.0 under Firefox 4.0
oobe
Posts: 5
Joined: Thu Apr 21, 2011 1:21 pm

Re: BUG? TAG with ATTR&&ATTR Working in iim but doesn't unde

Post by oobe » Sat Apr 23, 2011 10:39 am

Shit... forgot CODE: :lol:
now it's working :)

Code: Select all

iimPlay("CODE: TAG POS=1 TYPE=SPAN ATTR=CLASS:planet-koords&&TXT:[7:1:5]");
iimPlay("CODE: TAG POS=1 TYPE=SPAN ATTR=CLASS:\"planet-koords\"&&TXT:\"[7:1:5]\"");
Great tool!
Why javascript isn't freeware? :cry:
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: BUG? TAG with ATTR&&ATTR Working in iim but doesn't unde

Post by Tech Support » Mon Apr 25, 2011 10:03 am

Thanks a lot for updating your post!

>Why javascript isn't freeware?

It is! :D

The Javascript scripting interface is part of the free and open-source iMacros for Firefox addon.

Of course, we hope you'll enjoy iMacros so much that you'll consider upgrading to the the iMacros Scripting Edition that includes tech support with guaranteed response times and advanced features such as Flash, Silverlight and Java applet automation, image recognition, and a unique scripting interface object that lets you control Firefox and IE from any Windows programming or scripting language.
Post Reply