select dropdown problem ATTR=ID change every time

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
andrewvbullock
Posts: 1
Joined: Wed Jan 09, 2019 1:34 pm

select dropdown problem ATTR=ID change every time

Post by andrewvbullock » Tue Jan 15, 2019 10:31 pm

Hello
I have problem on select drop down menu cauz id name change every time i want to record CLASS: and name change

URL GOTO=https://mail.google.com/mail/u/0/#settings/general
TAG POS=1 TYPE=SELECT ATTR=ID::aq CONTENT=%10
TAG POS=1 TYPE=INPUT:RADIO ATTR=ID::cc

Firefox version 55.0.3
imacros 8.9.7

this ID: => ::aq
changer every time i reload the page any help plz
chivracq
Posts: 8315
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: select dropdown problem ATTR=ID change every time

Post by chivracq » Wed Jan 16, 2019 3:01 am

andrewvbullock wrote:
Tue Jan 15, 2019 10:31 pm
Hello
I have problem on select drop down menu cauz id name change every time i want to record CLASS: and name change

Code: Select all

URL GOTO=https://mail.google.com/mail/u/0/#settings/general
TAG POS=1 TYPE=SELECT ATTR=ID::aq CONTENT=%10
TAG POS=1 TYPE=INPUT:RADIO ATTR=ID::cc

Code: Select all

Firefox version 55.0.3
imacros 8.9.7
this ID: => ::aq
changer every time i reload the page any help plz
Not clear what that 'aq' Element is if the 'ID' is changing if you don't mention which DDLB you are trying to select...

But look at the Source of the Page or fire an 'EXTRACT=HTM' to identify the Class of that Object...

And probably easier would be to use 'Relative Positioning' with the 'Anchor' on the "Maximum page size:" or "Undo Send:" Label (which are the only 2 DDLB's with a '[10]' Entry)... :idea:
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
Post Reply