'How do I click and edit text fields in apps?
I was able to make one script with autohotkey already, but it uses a long-winded series of SendInputs commands to manually move the mouse around and click on text fields.
I want to figure out how to use the Acc Library to click specific text fields and enter new values.
My problem is there is no solid ABSOLUTE BEGINNER friendly explanation on how to pull off such a simple task. I spent the entire day searching the autohotkey forum and found nothing that amply explained how it worked. I searched google as well, and got nothing helpful in other autohotkey site; and I searched YouTube for any tutorials that could help, but alas, El Zilcho
I need autohotkey to go into Davinci Resolve (free and beefy edition) and select a text field in the inspector window, specifically the zoom text field for instance, using the Acc Library.

I cannot figure out how to even begin going about it. I used the Accessible Info Viewer to find specific identifying properties to find the text fields, but then I immediately hit a brick wall when it came to:
- Selecting the text field, and then
- Interacting with it, namely double clicking the text field and replacing the current value with value

I tried my best to find anything that would help for the task, but couldn't find any pertinent info. I really am sorry if I seem incompetent, I genuinely couldn't find anything beginner-friendly to get even an iota of how that stuff works. I'm sorry :(
Edit:4/2/22 I've been doing a ton of digging and this is the most I could cobble together thus far:
#+j::
WinGet, hWnd, ID, A
vAcc := Acc_Get("Object", "4.2.2.1.1.2.4.1.3.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1", 0, "ahk_id" hWnd)
%vAcc%.accDoDefaultAction(0)
return
I found code that identified the current window and read back the value of an Object path, so I thought "create a variable that contains the location of the zoom text box". From there, call the variable and envoke what I thought was a function to enact the action of said object. To reiterate, I need to enter a new value in the zoom box. Manually, you double click it and enter a value. I've already made a script that does this with SendInput commannds but, I want to be able to accomplish this effect with out absolutely needing panels to be in specific positions prior to activating the hotkey.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
