z900 wrote: ↑Tue Sep 28, 2021 5:40 am
i want to search txt name in facebook groups
If found, stop loop.
If not found, continue refresh.
Code: Select all
URL GOTO=https://www.facebook.com/groups
IF (TAG POS=1 TYPE=* ATTR=TXT:"name txt") {
PAUSE
}
ELSE{
REFRESH
}
Code: Select all
windows10
Google Chrome
iMacros for Chrome 10.1.1
I moved and edited your Post as you can see...:
Thread moved to the 'Data Extraction' Sub-Forum + Thread Title edited to add a '?', User is not sharing a 'How-to'.
And then OK, good, you've added your FCI after I had approved your Post, but hum, 'Free'/'PE'/'Trial' is still missing about v10.1.1 for CR, and your Browser Version is also missing, => probably CR93...?
Then hum..., I usually don't help for Social Media, but the Functionality that you want is "generic" enough. then OK...
=> Thread moved to the 'Data Extraction' already gives you the "first Part" of the/a Solution/Implementation, => you will need the 'EXTRACT' Mechanism, + 'EVAL()' for the 'IF/ELSE' Condition, and 'MacroError()' to abort the Script.
Another Solution/Implementation would be to use the 'EVENT' Param from the 'TAG' Command, + the 'FAIL_IF_FOUND' Option.
(And that Command doesn't even need any 'IF/ELSE'...)
+ For both Options, you may want to shorten '!TIMEOUT_STEP' if you don''t want each Loop to "wait" for the Default 6 Sec, and if you use '!ERRORIGNORE' (not needed in Combination with 'EXTRACT' though), it needs to be disabled for 'MacroError()' to abort the Script...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...