how to paste text to element? Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
RaisetheBass
Posts: 16
Joined: 08 Jul 2018, 06:17

how to paste text to element?

18 Jan 2019, 22:04

i wan to make it auto copy and paste to this box..please help...
<INPUT onbeforepaste=FormRowSet_AllField_OnBeforePaste(this) style="TEXT-TRANSFORM: uppercase; WIDTH: 150px; DISPLAY: inline; HEIGHT: 20px" onkeydown=FormRowSet_AllField_OnKeyDown(this) class=dbform_inputfield_style title="" onkeypress=FormRowSet_AllField_OnKeyPress(this) onkeyup=FormRowSet_AllField_OnKeyUp(this) maxLength=30 caretRange="null">


wb.document.GetElementsByTagName("input")[0].value :="^v"
gregster
Posts: 5211
Joined: 30 Sep 2013, 06:48

Re: how to paste text to element?  Topic is solved

18 Jan 2019, 22:28

If you want to put the clipboard contents into this field, you should probably use he built-in clipboard variable:

Code: Select all

wb.document.GetElementsByTagName("input")[0].value := clipboard
RaisetheBass
Posts: 16
Joined: 08 Jul 2018, 06:17

Re: how to paste text to element?

18 Jan 2019, 22:35

omg...thank you so muchhhhhh!!!!
bordop
Posts: 10
Joined: 03 Jun 2018, 23:03
GitHub: bordop

Re: how to paste text to element?

18 Jan 2019, 22:53

What about when you have to click a radio button first? So, the radio button runs a script to update the options, the url stays static, but I cannot figure out how to update the value in this scenario... ideas?

Return to “Ask For Help”

Who is online

Users browsing this forum: iiIiIIiII and 38 guests