-
Key method: libAlgorithm. Extract all digits in string characters.
Idea: Cut the string into 10 characters, and extract the number for each small string.
Specifies a length of 10 characters, with a sequential combination of 123 in between.
Initial string ="1 We will go to Beijing for a meeting today 2 days, and we need to bring 1 and 2 Qi Xiang 3 related documents, and we can't be late for 3"
Initial String Length = len (Initial String) Returns the length of the string.
for i = 1 to Initial String Length Iterate over the initial string.
Ten characters = mid(initial string, i, 10) returns all 10 characters.
if len (10 characters) < less than 10 characters at the end of 10 then do not.
exit for
end if
Number = libAlgorithm. Extract all numbers in string characters (10 characters) Extract all numbers within 10 characters.
If number = 123 then if the extracted number is equal to 123
traceprint ten characters to print the result.
end if
next
-
Initial string ="1 We will go to Beijing for a meeting today 2 days, and we need to bring 1 and 2 Qi Xiang 3 related documents, and we can't be late for 3"
-
Button Wizard Use grabbing to grab the dot in the upper left corner (x1, y1) and then grab the dot in the lower right corner (x2, y2), and then when writing, it is x1, y1, x2, y2
-
Return value = network return returned web page**, which you can get yourself.
Find 1 = Find 2 =
Head = instr(1, return value, find 1, 1)tail = instr(1, return value, find 2, 1) content = mid(return value, head + 33, tail - head - 33) Roughly this means, you have to adjust it yourself.
-
a=20 So, the content of variable a is the number 20
-
Method one, use the plug-in that comes with the button to find the picture. Web pages are filtered out with web plug-ins or fetch web content with ridges.
Method two, use stupid and other plug-ins such as infiltrating the desert to find words.
-
Use the built-in file plug-in to read the ini file.
-
Explain it in more detail ==
-
Install a button wizard mobile phone assistant in the computer, key wizard mobile phone help connect to the simulator or mobile phone, use the grasp tool of the key wizard mobile phone assistant to grab a picture first, save it to the computer, and then add it to the attachment, the figure must be less than 144*144, the smaller the faster it runs, so you should grab the key points, and then find the graphic command in the script command on the right, enter your key content.
dim intx, inty
findpic 0, 0, 0, 0, "attachment: Name. png", "000000", 0, ,intx, inty
if intx > 1 and inty > 1 thentap intx,inty
end if
The top 0,0,0,0 replaces the coordinates from the top left and bottom right of the range you are looking for.
-
If you can't find it, x and y are both equal to -1
findcolor 0, 0, 1024, 768, "0000ff", x, y
if x = -1 and y = -1 thenend if
The key wizard comes with a key code query,In"Key commands"Below, there is"Query the keycode"Press any key on the keyboard at the key, and the keycode of the corresponding key will be displayed in the keycode. Vice versa. >>>More
Color-finding plugin Parameter 1, Parameter 2, Parameter 3, Parameter 4, Parameter 5, Parameter 6, Parameter 7) vbscall findcolor(0,0,1024,768,"0000ff",intx,inty) >>>More
You're going to set it up.
Once the diagram is found, it works normally. If the graph is not found, it will always loop indefinitely, and it is impossible to loop. >>>More
How to use the key wizard to complete automation scripts, with projects.