Can I send text to fields on a webpage that uses Javascript? Newbie here...

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
bballjoe12
Posts: 114
Joined: 20 Aug 2017, 09:11

Can I send text to fields on a webpage that uses Javascript? Newbie here...

20 Aug 2017, 09:20

I am very new to AutoHotKey and wondering if it is possible to run a script to send text to fields that run on a webpage that uses Javascript? I have an example of what I am trying to accomplish via the link below.

http://imgur.com/bbyvLQ8

I want to send some text to the "Company" field (along with the other fields but 1 is enough for now). Within the image, I showed the id of the field along with other information you might need. I am using FireFox as the browser.

Thanks!
edison
Posts: 7
Joined: 11 Feb 2016, 12:08

Re: Can I send text to fields on a webpage that uses Javascript? Newbie here...

25 Aug 2017, 19:31

There's a couple of ways, but I would do something like this (off the cuff):

Code: Select all

SendPlay ^ljavascript:$('{#}arid_WIN_2_100000082').focus();void(0);{Enter}
SendPlay MyCompany{Enter}
bballjoe12
Posts: 114
Joined: 20 Aug 2017, 09:11

Re: Can I send text to fields on a webpage that uses Javascript? Newbie here...

30 Aug 2017, 10:49

Any other ways I can achieve the same thing (other then just using tab, lol)?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: gabelynn1, mikeyww and 297 guests