in reply to Re: Re: Close window
in thread Close window
Hi Harry!
Well it depends on what your dialog-box looks like. Usually you have an "okay" and "cancel" button or something. Then you could use the PushButton/PushChildButton-Function which works great. But of course you have to do a findwindow() etc before, read the POD for more info.
Another way is to solve the problem via sendkeys(), you could send ALT+SPACE and then c to close it via the drop-down-menu.
If all of this doesn't work, have a look at other Win32:: Modules, I currently don't remember the name but there is one which helps you to kill an app what should help also.
giant