How do I extract this value to Clipboard?

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
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
Sistematizando
Posts: 1
Joined: Tue Dec 01, 2020 2:12 pm

How do I extract this value to Clipboard?

Post by Sistematizando » Tue Dec 01, 2020 2:18 pm

Hello, I'm new to imacros and I need a code that just leaves the price value on the clipboard, Could someone help me?

I need you to pull the value of the item and send it to the clipboard only

Link: https://dentalspeed.com/modelo/agua-des ... ater-14494


What I tried to create was the one below, but I couldn't find the "price" that would be the value element.

Code: Select all

SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=SPAN ATTR=id:price* EXTRACT=TXT
SET !CLIPBOARD {{!EXTRACT}}
Thank you guys
chivracq
Posts: 9693
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: How do I extract this value to Clipboard?

Post by chivracq » Tue Dec 01, 2020 2:21 pm

Sistematizando wrote:
Tue Dec 01, 2020 2:18 pm
Hello, I'm new to imacros and I need a code that just leaves the price value on the clipboard, Could someone help me?

I need you to pull the value of the item and send it to the clipboard only

Link: https://dentalspeed.com/modelo/agua-des ... ater-14494


What I tried to create was the one below, but I couldn't find the "price" that would be the value element.

Code: Select all

SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=SPAN ATTR=id:price* EXTRACT=TXT
SET !CLIPBOARD {{!EXTRACT}}
Thank you guys

CIM...! :mrgreen: (Read my Sig..., and the Forum Rules... :idea: )
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
chivracq
Posts: 9693
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: How do I extract this value to Clipboard?

Post by chivracq » Tue Dec 01, 2020 2:45 pm

And...?, is it "so complicated" to mention 3 Versions about your FCI...? :o

Hurry up, I already found 2 Solutions...! 8)
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
Post Reply