abhi Posted April 12, 2007 Share Posted April 12, 2007 All, I am trying to find a way to capture the message from a dialog box before I Send a command to close the message box. Can anybody please shed some light on it ? To illustrate my point let me give an example. After editing a new txt file in Notepad, if we try to close Notepad without saving it's contents, we are prompted with the stereotypical dialog, saying ,"DO you want to save changes..." with 3 buttons Yes No Cancel. I am trying to write a script which will help me capture that message. Thanks Link to comment Share on other sites More sharing options...
BillLuvsU Posted April 12, 2007 Share Posted April 12, 2007 WinGetText( ). Your best friend for this situation. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
abhi Posted April 12, 2007 Author Share Posted April 12, 2007 Thanks a lot. I wanted to reroute the captured data to STDOUT? How would I do that. ConsoleWrite doesn't seem to work? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now