Home >Software Tutorial >Computer Software >Detailed steps for finding images in the Button Wizard
How many people have been stumped by the button wizard’s search for pictures? This problem bothers many users and prevents them from using this automation tool efficiently. PHP editor Banana hereby brings you the detailed steps for finding images with the key sprite, from image selection to coordinate acquisition, patiently explained step by step. By reading the detailed content below, you will thoroughly master the key wizard image-finding techniques, making automated tasks easier.
First open the button wizard and create a new script file
Then click on the grab button in the script and the grab assistant tool will pop up
Then we switch to the page where we want to find the picture, and press the prtscr sysrq button to take a full-screen screenshot (to the right of F12 on the keyboard)
Return to the scratch auxiliary tool interface, Click on the image, and the picture you just captured will appear. Select the location where you want to find the picture, right-click - Save bitmap as (save it where you want to store it for easy search)
At this time we return to the button wizard script, find the attachment in the upper left corner, click to open, then click Add to add the just saved image to it
Return to the script code window , select the Color/Graphics command, select [Region Image Search] in the drop-down box [
Enter the coordinates of your search target area in the screen area, click the path to select the image you want to find (just saved Picture) (This step cannot be mistaken, otherwise it will not be found if the reference position is wrong)
Then click the insert button next to the area to find the picture, and a piece of code will be inserted. Open the source code. Below Add a pop-up dialog box (MsgBox "Found"), set the start and terminate keys, save and exit.
Go back to the image search area and press the start button. When the image is found, the [Found] dialog box will pop up, and the image search is completed.
The above is the detailed content of Detailed steps for finding images in the Button Wizard. For more information, please follow other related articles on the PHP Chinese website!