steve_clarke
9 years agoContributor
NetUIHWND issues - Saving an Excel worbook
I have a test, for a Delphi application, that invokes Excel in order to save a report created in the application. Excel is closed and then the workbook should be saved, with a prescribed title, to a...
- 9 years ago
Have you tried to use the buttons shortcuts ?
Something like this:
Sys.Process('excel').Window('NUIDialog', 'Microsoft Excel', 1).Window('NetUIHWND', '', 1).SetFocus
Sys.Desktop.Keys('~S')
This will enters 'ALT + S' (Save) into the control with focus. Or just the second line if the window is already focused.