Send +v or paste value to website

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Vanda_a
Posts: 14
Joined: 05 Nov 2015, 10:12

Send +v or paste value to website

Post by Vanda_a » 18 Nov 2020, 21:22

Hello all. Could you please help advise me how to solve my problem please?
Below pic, I am trying to copy excel value and paste into website. The website not allow me to put Value = “ TN “. It allow only send control + v.
Any other way to send value instead of send control + v? Please kindly help advise both ways. Send control + v and send value direct to website.

Thank you
Attachments
E6624896-9A52-42B0-8BD6-773E04C23B6F.jpeg
E6624896-9A52-42B0-8BD6-773E04C23B6F.jpeg (13.84 KiB) Viewed 246 times

Vanda_a
Posts: 14
Joined: 05 Nov 2015, 10:12

Re: Send +v or paste value to website

Post by Vanda_a » 18 Nov 2020, 23:09

I tired this but still not work. It doesn’t paste the text to website
Attachments
195F057B-92EC-417A-86EC-5114FDD806EE.jpeg
195F057B-92EC-417A-86EC-5114FDD806EE.jpeg (16.5 KiB) Viewed 230 times

User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Send +v or paste value to website

Post by Xtra » 18 Nov 2020, 23:24

First post should be change to: .value := TN
Second post should be change to: "input[name='txtTin']" Edit: I see the 1st post needs this fixed also <<

HTH
Last edited by Xtra on 19 Nov 2020, 02:33, edited 1 time in total.

Vanda_a
Posts: 14
Joined: 05 Nov 2015, 10:12

Re: Send +v or paste value to website

Post by Vanda_a » 18 Nov 2020, 23:47

Thank you for your help. The issue now is I am able to get paste value into it but the website doesn’t recognize it. I can see the value there ex 100 but the website still recognize blank. Why please? But if i send control v, it works

User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Send +v or paste value to website

Post by Xtra » 19 Nov 2020, 02:32

The website is probably trying to validate the input.
You could try clicking or focusing the input element and then using send:

Code: Select all

SetKeyDelay, 100, 50
Send % TN

Vanda_a
Posts: 14
Joined: 05 Nov 2015, 10:12

Re: Send +v or paste value to website

Post by Vanda_a » 19 Nov 2020, 04:00

Thank you very much.

Post Reply

Return to “Ask for Help (v1)”