Yeah well, the commented out Line:
Code: Select all
'TAG POS=1 TYPE=P ATTR=TXT:Fôrça<SP>Bruta<SP>(<SP>Brute<SP>Force<SP>)<SP>is<SP>the<SP>s*
... was what the Record Mode recorded, and which was using the 'TXT' Attribute that would be different of course if you tried to apply the Script to some other Page with some different Content, so I made it more "generic" with:
Code: Select all
TAG POS=1 TYPE=P ATTR=TXT:* EXTRACT=TXT
(... With "POS=1".)
And I always keep in "my" Scripts the original Recording in case I ever need to edit the Script (sometimes several years later) and understand "again" what I had done when I had created the Script... (Good Practice I would say, ah-ah...!)
I didn't check but in case there might be several 'P' HTML Elements on the/this Page or on some other Pages, I supposed the "Der heute vorgestellte Artikel" Title that iMacros recorded as "Today's<SP>featured<SP>article<SP>Der<SP>heute<SP>vorgestell*" and that I didn't change would probably always be there and could be used as 'Anchor' with 'Relative Positioning' for the 'P' Element to give:
Code: Select all
TAG POS=1 TYPE=SPAN ATTR=TXT:Today's<SP>featured<SP>article<SP>Der<SP>heute<SP>vorgestell*
TAG POS=R1 TYPE=P ATTR=TXT:* EXTRACT=TXT
(... => With "POS=R1" this time..., and the "R" stands for "Relative", but this Syntax always needs an 'Anchor' to know from which HTML Element the 2nd 'TAG' is relative...)
And my "whole" Script was more meant as a "Proof of Concept" and Example to show you how it works a bit, and that you can modify as you like of course...
- (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...