app.Notepad.MenuSelect("File->Save As")/*saveas dialog box opened and waiting for the filename*/

regards
Kumar

hello guys,

I have written a script to open notepad and added the text in script, after that i want to save the file in text format.

from pywinauto import application

app=application.Application()
app.start_('Notepad.exe')
app.Notepad.edit.TypeKeys('hello')

app.Notepad.MenuSelect("File->Open")
app.Notepad.MenuSelect("File->Save")/*saveas dialog box opened and waiting for the filename*/

Please guide me

Regards
kumar