Re: FW: [program-l] NVDA add-on development questions
Send a Windows WM_SETTEXT message to the field, assuming that it's a standard Win32 application.toggle quoted messageShow quoted text
editBox = api.getFocusObject()
WM_SETTEXT = 0x000C
winUser.sendMessage(editBox.windowHandle, WM_SETTEXT, 0, "test")
You may also need to send an EM_SETSEL message to move the cursor after the text if required, because I think by default the cursor will remain at the start.
On 15/05/2020 at 1:44 pm, Adil Shaikh wrote:
thanks to everyone who answered my query.