richtburkhart Posted November 9, 2015 Share Posted November 9, 2015 I am having trouble with a script I'm writing. I'm not sure how to handle this problem. I've got the script running through an installation, but at one point in the installation, I want it to check if a button is there or not. The problem is the button I'm referring to doesn't have its own handle. It's just part of a larger box which has its own handle. What can I use instead of checking for the button's handle, since the button doesn't have one to begin with? Link to comment Share on other sites More sharing options...
JohnOne Posted November 9, 2015 Share Posted November 9, 2015 What is the app you're installing, maybe it's been done before.Unless it's a super secret mystery app. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
richtburkhart Posted November 9, 2015 Author Share Posted November 9, 2015 Haha no. It's not. I'm using the Microsoft Web Platform Installer to install PHP 5.6.0. There is an install button inside the search results area, but once that button is used, it disappears. The button never had a handle of its own to begin with though. I had to use coords to ControlClick it. Link to comment Share on other sites More sharing options...
richtburkhart Posted November 17, 2015 Author Share Posted November 17, 2015 Is there anyone with an alternative to targeting handles? Link to comment Share on other sites More sharing options...
guestscripter Posted November 17, 2015 Share Posted November 17, 2015 If the "Autoit Window Info" tool really can't find the button,and alternatives to this tool (WinSpy++ is one of the names I think I remember) don't either,_ImageSearch() could help you, but we warned if you go in this direction different screen resolutions etc. etc. may become a hassle on different computers. ImageSearch15.au3 featuring _ImageSearchStartup() and _ImageSearchShutdown() Link to comment Share on other sites More sharing options...
guestscripter Posted November 17, 2015 Share Posted November 17, 2015 Or as a quick, simple and rough fix, PixelCheckSum.... ImageSearch15.au3 featuring _ImageSearchStartup() and _ImageSearchShutdown() Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now