I'm attempting to write a script to automatically fill a web-field with the current date using an AutoHotkey script. However, I'm not sure how to focus a specific field by its name
or id
.
My current hacky workaround is to use Send, {Tab 84}
to scroll to the specific field, type the date with Send, 6/28/2017
, and submit the field manually. While the script works most of the time, it's blatantly apparent there are better methods.
How can I focus autofill specific text-field on a webpage using an AutoHotkey script?