1, the first clear script to write the purpose, this example is mainly to complete the following goals: Find the picture, and the left mouse click a new script, click on the top of the "catch"
2, under the image, so that "grasping" in the front of the interception window, and then click on "screenshot"
3, box select the picture to be intercepted, choose "Bitmap Save As"
4, name the picture, and then save
5, close "grasping", click "Accessories"
6, click "Add", will just save the picture into the script
7, back to the script, click the "Color/graphics command"
8, in the first Drop-down menu, select "Area Map"
9, then choose to find the area of the map, if you need to look for the entire screen map, you need to set the number above the resolution of the computer, if you only need to find a map in a region, you can use "grasping" to determine the regional coordinates
10, then the red box in the file name to the name of the picture, you can adjust the image of the similarity, if the picture in the area of the search does not have similar pictures, you can adjust lower, conversely, the higher some
11, note to check "Use attachment picture path", and then click Insert
12, now only need to add the mouse click Command, the "then" after the statement, is also the position of the arrow indicated in the figure
13, click the Mouse command under the move command, do not need to tube the current coordinate values
14, under the "Source Files" window, replace specific values with "intx+20,inty+20" because the script finds the graph, it assigns the coordinates of the upper-left corner of the picture to the X,y two variables, and clicks the top left corner of the picture if you directly enter "Intx,inty" When you click the mouse. There may be no picture, so to X,y set an offset, this offset is based on the size of the picture set, if the picture area is small, offset large, but also can not click the picture, so the setting is complete, need to test
15, then set a delay time, the length of their own master
16, then enter a mouse click of the command can be
17, the key wizard how to find a map of the script to write a key wizard how to find the map