WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: jkjk12 on January 04, 2017, 11:10:37 AM

Title: roboscripter question
Post by: jkjk12 on January 04, 2017, 11:10:37 AM
Hi.  I have to script an Uninstall for some software.  This software does not have a silent uninstaller so you have to do it manually.    So I want to use WinBatch (v2014) and to be more exact I want to use RoboScripter.   

I need to discover 2 windows and press a button on each.  The issue is they both have the Exact same name.  This is the name in the Title Bar of the Dialog Window.  But I have noticed that when I use RoboScripter the value ;Title does change.

;Title: &Close

This is commented out with a semi colon.     Is it possible to have my script "Pause" until the Title changes to &Close?   

WinExist only seems to get the Winname and not the actual Title.    So is this possible?
Title: Re: roboscripter question
Post by: td on January 04, 2017, 11:57:04 AM
Your description of the problem is open to multiple interpretations so it is difficult to offer concrete suggestions.  Perhaps review the WinWaitChild function in the Consolidated WIL hep file.