Page 1 of 1

Copy to Clipboard from Webpage

Posted: Fri Aug 17, 2018 3:38 pm
by jyotirmaya
I am using I am using
Browser Firefox 48.0
iMacros for Firefox 9.0.3
Windows 7 Professional 64-bit Operating system

Code: Select all

VERSION BUILD=9030808 RECORDER=FX
TAB T=1
 SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%1<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
         SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2

TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%2<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
        SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2


TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%3<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
        SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2

TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%4<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
         SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2

TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%5<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname  EXTRACT=TXT
        SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2
I am using the above code for copying data from a web page and set to stored in Clipboard but the data is copying like
A
AB
ABC
ABCD
ABCDE

I want it to be copied like
A
B
C
D
E

Re: Copy to Clipboard from Webpage

Posted: Fri Aug 17, 2018 3:48 pm
by chivracq
jyotirmaya wrote:I am using I am using

Code: Select all

Bowser Firefox 48.0
iMacros for Firefox 9.0.3 
Windows 7 Professional 64-bit Operating system

Code: Select all

VERSION BUILD=9030808 RECORDER=FX
TAB T=1
 SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%1<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
         SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2

TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%2<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
        SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2


TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%3<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
        SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2

TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%4<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
         SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2

TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%5<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname  EXTRACT=TXT
        SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2
I am using the above code for copying data from a web page and set to stored in Clipboard but the data is copying like
A
AB
ABC
ABCD
ABCDE

I want it to be copied like
A
B
C
D
E
Yep, normal, you need to empty/reset the '!EXTRACT' Var before each new 'EXTRACT' with a "SET !EXTRACT NULL"...

(And you have a Typo in "B[r]owser"..., but nice to see that you now manage to spell "iMacros" correctly, ah-ah...! :wink: )

Re: Copy to Clipboard from Webpage

Posted: Fri Aug 17, 2018 3:57 pm
by jyotirmaya
chivracq wrote:
jyotirmaya wrote:I am using I am using

Code: Select all

Bowser Firefox 48.0
iMacros for Firefox 9.0.3 
Windows 7 Professional 64-bit Operating system

Code: Select all

VERSION BUILD=9030808 RECORDER=FX
TAB T=1
 SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%1<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
         SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2

TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%2<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
        SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2


TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%3<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
        SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2

TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%4<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname EXTRACT=TXT
         SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2

TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlkhata CONTENT=%5<SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP><SP>
TAG POS=1 TYPE=SPAN ATTR=ID:ctl00_ContentPlaceHolder1_lbltenaname  EXTRACT=TXT
        SET !CLIPBOARD {{!EXTRACT}}
                WAIT SECONDS=2
I am using the above code for copying data from a web page and set to stored in Clipboard but the data is copying like
A
AB
ABC
ABCD
ABCDE

I want it to be copied like
A
B
C
D
E
Yep, normal, you need to empty/reset the '!EXTRACT' Var before each new 'EXTRACT' with a "SET !EXTRACT NULL"...

(And you have a Typo in "B[r]owser"..., but nice to see that you now manage to spell "iMacros correctly, ah-ah...! :wink: )

Thank you, corrected :D . Sorry to disturb for small helps but you can not understand how much that helps. :D
Once again Thank you so much

Re: Copy to Clipboard from Webpage

Posted: Fri Aug 17, 2018 4:01 pm
by chivracq
jyotirmaya wrote:Thank you, corrected :D . Sorry to disturb for small helps but you can not understand how much that helps. :D
Once again Thank you so much
:wink: