Help converting from imacros

Hi,
I have three small imacros macros that I need to convert to UI.Vission. They are:

VERSION BUILD=8970419 RECORDER=FX
SET !EXTRACT_TEST_POPUP NO
FRAME NAME=“frmBET”
TAG POS=1 TYPE=DIV ATTR=ID:BET_DATA EXTRACT=HTM
SET !CLIPBOARD {{!EXTRACT}}

VERSION BUILD=8970419 RECORDER=FX
SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=SPAN ATTR=ID:txtTIMER EXTRACT=TXT
SET !CLIPBOARD {{!EXTRACT}}

VERSION BUILD=8970419 RECORDER=FX
SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=TABLE ATTR=TXT:* EXTRACT=HTM
SET !CLIPBOARD {{!EXTRACT}}

Could someone please help me get started?
Thanks in advance for the help.

I start with this one. The first 2 lines are not needed in ui.vision. Then we have:

  • TAG POS=1 TYPE=TABLE ATTR=TXT:* EXTRACT=HTM => storeText should work as replacement, see here: web scraping. Or do you really need the complete table?

  • SET !CLIPBOARD {{!EXTRACT}} => store | ${a} | !clipboard (variable a is filled with storeText)

A link to the website would help to test my ideas.

Thanks a lot for your help, this one almost works now and I should be able to get the others working.
With the imacros htm extract, the table pasted as a 6x7 table of data. With the storeText command, a single long row of table data was pasted. Is there a way to keep the table structure?

Unfortunately, I can’t send a link to the site - it’s geo locked and password protected.

Ok, so you need to extract the complete table content. See here for ideas: