Find and fill an input field with AutoHotKey

前端 未结 2 1021
别跟我提以往
别跟我提以往 2021-01-06 03:15

A challenge to all you AutoHotKey masters:

Give us a function that will Find and Move the Cursor to an Input Field (E.g. LoginName) and, alternative

2条回答
  •  长情又很酷
    2021-01-06 03:39

    You can always use the {TAB} option. Open the website and hit the TAB key until you reach the input field and count how many times you hit it. Then do Send {TAB ##}. I used the below to put in First name, middle name, last name, and 2 other id into a web form. The variables were entered into a GUI form that was created.

    Send {TAB 41}
    Send %firstn%
    Send {TAB}
    Send %middle%
    Send {TAB}
    Send %lastn%
    Send {TAB}
    Send %deas%
    Send {TAB}
    Send %npis%
    Send {TAB 3}
    Send {N}
    Send {TAB 2}
    Send {ENTER}
    

提交回复
热议问题