Settext and Save in Python

Hello everyone,

I am trying send text to the File Name box and then click the button open. what I have came so far is below: Can anyone assist me with this? Thanks

import win32gui
t = win32gui.FindWindow( None, "Open" )

t1 = win32gui.GetDlgItem( t, 1 )
print (win32gui.SendMessage( t1, WM_SETTEXT, 1, "Open"))

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.