How to "navigate" to a text field and insert clipboard content?
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
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
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
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
-
- Posts: 10
- Joined: Tue Feb 23, 2021 4:37 pm
How to "navigate" to a text field and insert clipboard content?
-imacros for firefox 10.0.2.1450
-Windows 10 Pro
-Firefox 85.0.2 (64-Bit)
-included demo macros work ok
Hello,
this is my first in this forum.
I'd like to use the imacros firefox plugin to automate some admin work in an internet forum.
Where can I find help on how to navigate to a specified text-field on a specified url and to paste the contents of the clipboard?
Thanks a lot for your help.
-Windows 10 Pro
-Firefox 85.0.2 (64-Bit)
-included demo macros work ok
Hello,
this is my first in this forum.
I'd like to use the imacros firefox plugin to automate some admin work in an internet forum.
Where can I find help on how to navigate to a specified text-field on a specified url and to paste the contents of the clipboard?
Thanks a lot for your help.
Re: How to "navigate" to a text field and insert clipboard content?
Refer wiki link for example
but I tested and its not working on iMacros 10 for Chrome
https://wiki.imacros.net/!CLIPBOARD
but I tested and its not working on iMacros 10 for Chrome
https://wiki.imacros.net/!CLIPBOARD
Available for custom iim, javascript iMacros scripts
-
- Posts: 10
- Joined: Tue Feb 23, 2021 4:37 pm
Re: How to "navigate" to a text field and insert clipboard content?
I'm no programmer but how exactly can I use firefox to discover how to reference the correct textfield in imacros to paste the content of the clipboard?
Re: How to "navigate" to a text field and insert clipboard content?
{{!clipboard}} variable is used to get clipboard text but
this variable is not working in iMacros 10 for Chrome
so even if you are able to write TAG command to input data
data will still be blank as {{!clipboard}} variable is giving blank
if you need help in writing the command then you have to share the URL.
this variable is not working in iMacros 10 for Chrome
so even if you are able to write TAG command to input data
data will still be blank as {{!clipboard}} variable is giving blank
if you need help in writing the command then you have to share the URL.
Available for custom iim, javascript iMacros scripts
Re: How to "navigate" to a text field and insert clipboard content?
to begin with
click record
input data in text box
stop recording
find TAG command which shows data entered
replace text after "CONTENT=" with "CONTENT={{!clipboard}}"
you can delete other lines of recording
click record
input data in text box
stop recording
find TAG command which shows data entered
replace text after "CONTENT=" with "CONTENT={{!clipboard}}"
you can delete other lines of recording
Available for custom iim, javascript iMacros scripts
-
- Posts: 10
- Joined: Tue Feb 23, 2021 4:37 pm
Re: How to "navigate" to a text field and insert clipboard content?
This results in an Error:
RuntimeError: element TEXTAREA specified by TABINDEX:2&&DIR:ltr&&TXT: was not found, line: 4
Line 4 is:
RuntimeError: element TEXTAREA specified by TABINDEX:2&&DIR:ltr&&TXT: was not found, line: 4
Line 4 is:
Code: Select all
TAG POS=1 TYPE=TEXTAREA FORM=NAME:input ATTR=TABINDEX:2&&DIR:ltr&&TXT: CONTENT={{!clipboard}}
Re: How to "navigate" to a text field and insert clipboard content?
need to see URL to check the code
but first check if clipboard will work or not
run this command
prompt {{!clipboard}}
if you see data then worth trying to fix the code
Otherwise you have to use ctrl v command with event mode and your iMacros wont support event mode
but first check if clipboard will work or not
run this command
prompt {{!clipboard}}
if you see data then worth trying to fix the code
Otherwise you have to use ctrl v command with event mode and your iMacros wont support event mode
Available for custom iim, javascript iMacros scripts
-
- Posts: 10
- Joined: Tue Feb 23, 2021 4:37 pm
Re: How to "navigate" to a text field and insert clipboard content?
I saved your code as Macro and the content of the clipboard was copied successfully.
The error seems to be that the wrong field on the page is selected before pasting the clipboard.
Unfortunately I can't copy the URL because only moderators can access it.
The error seems to be that the wrong field on the page is selected before pasting the clipboard.
Unfortunately I can't copy the URL because only moderators can access it.
Re: How to "navigate" to a text field and insert clipboard content?
You can do inspect element and send screenshot
Available for custom iim, javascript iMacros scripts
-
- Posts: 10
- Joined: Tue Feb 23, 2021 4:37 pm
Re: How to "navigate" to a text field and insert clipboard content?
You mean with firefox inspector?
Re: How to "navigate" to a text field and insert clipboard content?
You 2 are so funny, ah-ah...!, nearly "cute"...
@OP, try to open your Thread in the "correct" Sub-Forum "next time", and you might get some "better" Help...
... But your whole Thread is a bit "Low Qlt" anyway..., nearly always actually when no URL is posted...
@techimac is maybe not the most "Advanced" User on the Forum but is at least nicely trying to help you @OP , but hum..., a bit difficult if he can't try/test anything as you didn't provide any URL to test...
(He's nicer than me actually, as you can see, I didn't try to help, your Scenario was "too vague"... [Well, and I usually don't help for Social Media and posting/commenting on a Forum... ])
>>>
About "wrong Sub-Forum", I'm the Mod on this Forum, and who approved your Post/Thread, which I "normally" would have disapproved (until you had opened it in the correct Sub-Forum), but I had very bad/no Internet a few days ago when you posted, so I preferred to approve your Thread directly, as I wasn't "sure" when I would get some Internet again..., or you might have had to wait for 1-2-3 days before I would again have had some Internet to check the Forum again... and approved 1st time Posters...
>>>
EDIT: Removed some a bit "unfriendly" Term, oops...!
@OP, try to open your Thread in the "correct" Sub-Forum "next time", and you might get some "better" Help...
... But your whole Thread is a bit "Low Qlt" anyway..., nearly always actually when no URL is posted...
@techimac is maybe not the most "Advanced" User on the Forum but is at least nicely trying to help you @OP , but hum..., a bit difficult if he can't try/test anything as you didn't provide any URL to test...
(He's nicer than me actually, as you can see, I didn't try to help, your Scenario was "too vague"... [Well, and I usually don't help for Social Media and posting/commenting on a Forum... ])
>>>
About "wrong Sub-Forum", I'm the Mod on this Forum, and who approved your Post/Thread, which I "normally" would have disapproved (until you had opened it in the correct Sub-Forum), but I had very bad/no Internet a few days ago when you posted, so I preferred to approve your Thread directly, as I wasn't "sure" when I would get some Internet again..., or you might have had to wait for 1-2-3 days before I would again have had some Internet to check the Forum again... and approved 1st time Posters...
>>>
EDIT: Removed some a bit "unfriendly" Term, oops...!
Last edited by chivracq on Tue Mar 02, 2021 5:35 pm, edited 1 time in total.
- (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...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Re: How to "navigate" to a text field and insert clipboard content?
I want to see HTML code of text box
you can try which one fills the box if it does
SET !ERRORIGNORE YES
SET !TIMEOUT_STEP 0
TAG POS=1 TYPE=TEXTAREA ATTR=* content=1
TAG POS=2 TYPE=TEXTAREA ATTR=* content=2
TAG POS=3 TYPE=TEXTAREA ATTR=* content=3
TAG POS=4 TYPE=TEXTAREA ATTR=* content=4
Available for custom iim, javascript iMacros scripts
-
- Posts: 10
- Joined: Tue Feb 23, 2021 4:37 pm
Re: How to "navigate" to a text field and insert clipboard content?
Hello Admin,
sorry for my LQ thread but you answer ...Hum... is nearly the same level.
If iMacros is intended just for professionals I have to search for another tool because the wiki seems to be for pro's too.
Maybe a little help which forum might be the right one to ask would be supportive anyway?
sorry for my LQ thread but you answer ...Hum... is nearly the same level.
If iMacros is intended just for professionals I have to search for another tool because the wiki seems to be for pro's too.
Maybe a little help which forum might be the right one to ask would be supportive anyway?
Re: How to "navigate" to a text field and insert clipboard content?
try the code I sent
and whichever line fills the data, use it
and whichever line fills the data, use it
Available for custom iim, javascript iMacros scripts
-
- Posts: 10
- Joined: Tue Feb 23, 2021 4:37 pm
Re: How to "navigate" to a text field and insert clipboard content?
Thanks a lot for your patience techimac.
Maybe you're not the Pro like the Admin wrote but at least you tried to help me.
Maybe you're not the Pro like the Admin wrote but at least you tried to help me.