Jump to content

Read User Selection from application message box


MikeJB
 Share

Recommended Posts

Having wasted many hours trying to solve this problem without success, could any one help with the following scenario:

Autoit is controlling the user interface of Autoplay to prevent any data entry errors on the completed media diak.

When a burn is about to be performed and a media disk is not loaded in the drive, Autoplay generates an internal message (window name is "Insert Media") that shows two buttons  "Load Media" (Button1) or "Cancel" (Button2).

Despite all my attempts to read these buttons direct from this window and return the button info into autoit so I can continue to control autoit, do not work (guigetmsg(), guigetmsg(1) for example).

I can use controlclick to OK the message then Create a new gui box and run this but doing this creates another issue if the user still does not load the media so I want to act directly on the Autoplay error message box and read whcih button the user has selected.

Any help or guidance would be greatly appreciated.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...