/build/static/layout/Breadcrumb_cap_w.png

Utility to auto answer a dialog box.

Hello. This is probably the wrong part of the forum, but it's as close to the problem as I can get.

I'm working on a package for a piece of software for my job and am running into a slight problem.

When the application is launched, it prompts for the CD, regardless if it is mounted (through Daemon Tools) or in the drive. I need to have that dialog box automatically answer yes so the application will start for the user.

I've scoured Google and the web but with no luck. I'm probably just asking the wrong question. Does anyone have any suggestions?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: dwight66 18 years ago
Senior Yellow Belt
0
Have you tried AutoIT ?
http://www.autoitscript.com/

Regards,
Posted by: bheers 18 years ago
Second Degree Blue Belt
0
You can also use winbatch.

This script should be run in an asynchornous, no wait mode to get the desired results.

Sample

WinWaitExist("Name on the dialog box", -1)
WinActivate("Name on the dialog box")
SendKeysTo("Name on the dialog box","!y")
exit
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ