Sign in to follow this  
Followers 0
abhi

Reading Message from a Message Box

3 posts in this topic

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

Share this post


Link to post
Share on other sites

WinGetText( ). Your best friend for this situation.


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

Thanks a lot.

I wanted to reroute the captured data to STDOUT? How would I do that. ConsoleWrite doesn't seem to work?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0