Jump to content

Recommended Posts

Posted

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

Posted

WinGetText( ). Your best friend for this situation.

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

Posted

Thanks a lot.

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

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
×
×
  • Create New...