Jump to content

Reading Message from a Message Box


Recommended Posts

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 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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...