-
This is good to achieve.
First of all, you need to create a background plug-in (361 background plug-in is recommended), and then convert the window coordinates of the point (instead of the screen coordinates), and send a click action to the coordinate. The delay command is the same as a normal script.
This is a post posted by the 361 plugin, I'm sure you can figure it out.
To give you two lines of statement:
plugin hwnd =
rem starts.
delay 10000
plugin ,x,y)
Click at coordinates x y.
goto begins.
The content is simple but the writing is very wordy, if you really can't figure it out and then add to you the complete plugin This plugin is simple, practical and safe, it is recommended that you learn
-
It's not that simple when it comes to the background.,You need to grab the handle of the window you need to operate.,This kind of script won't be done for you for free.。。
-
It is recommended that the landlord refer to the button wizard, it is not difficult, and he can customize it.
-
It's an honor to answer for you:
The first problem: background issues. Because.
plugin , 122)
The command sends a keycode to a background window handle, but as you can see, you haven't assigned a window handle to the hwnd variable before. So one should be added in front.
The following sentence is the handle to the window that the mouse points to.
plugin hwnd =
command, so that there will be something in the hwnd, so that the following can send the key code to this window.
Second question. Time delay, it is recommended to solve the above problem first to test whether the time is accurate, if it must be accurate, it is recommended to use the following command. (The reason why your original script has not stopped after 28 minutes is that it also takes a certain amount of time to send the key to the background, although it takes very little, about a few hundred milliseconds, but each time it is hundreds of milliseconds, 5600 times down the error is quite large), the following script is based on the system time as the script execution time.
The script gets the current system time when it starts, and then checks the comparison between the current time and the startup time every time it runs, and if it is equal to or more than 1680 seconds, that is, 28 minutes, the script stops running. The error rate is controlled within seconds.
t1=time
rem starts.
if datediff("s",t1,time)=>1680endscript
endifgoto begins.
To sum up, the complete script you need is as follows, and the delay of 200 seconds is almost 5 times per second, and the error rate depends on the computer configuration and the target program, no more than 100 milliseconds, which can be appropriately reduced (the game background script is not guaranteed to be effective, because some games will block background instructions.) Passed under Notepad):
plugin hwnd =
t1=time
rem starts.
if datediff("s",t1,time)=>1680endscript
endifplugin , 122)
delay 200
goto begins.
-
call, x, y).
x = window client area? x coordinate y = y coordinate delay of 500 in the window client area
The delay of 1000 = 1 second, set, set up an infinite loop. Suspect that every time you open the gamepad is different, they crawl on the ground.
Key sprite scripts.
-
To give you two lines of statement:
plugin hwnd =
rem starts.
delay 10000
plugin ,x,y)
Click at coordinates x y.
goto begins.
.The content is simple but the writing is very wordy, if you really can't figure it out and then add to you the complete plugin This plugin is simple, practical and safe, it is recommended that you learn
-
plugin yx =
delay 500
plugin s =
xyarray = split(s, "|", -1, 1)dx = xyarray(0)
dy = xyarray(1)
delay 500
rem aplugin , 888-dx, 585-dy)delay 500
goto a
Be sure to click on the game screen before running, and then run the script, otherwise you won't be able to background it. Attention, it's the game screen!
Please be prompt!
-
The details are as follows:
putattachment "d:\p", "*.*"
Get a window handle.
hwnd =
Get the coordinates of the upper left corner of the window client area.
srect =
xyarray = split(srect, "|", -1 , 1)
dx = xyarray(0)
dy = xyarray(1)
Transfer window. kmdata = , 0)
Parameter 1 Load.
tu = "d:\p\")
tu1 = "d:\p\")
docall , 9)
delay 100
call , 49)
delay 3000
for 60
call , 0, 0, 1024, 768 ,tu(0), 30, ,ipx, ipy)
if ipx > 0 and ipy > 0 then
call , 51)
delay 1000
call , 0, 0, 1024, 768 ,tu1(0), 30, ,intx, inty)
if intx > 0 and inty > 0 then
call , intx, inty) //
delay 1000
call (kmdata) here the background clicks the left mouse and does not respond, is it written in that place?
delay 200
end if
end if
end if
nextdelay 100
loopsub onscriptexit
Release the transfer window.
callcall (kmdata)
end sub
-
If you're talking about software that's a game.
I advise you to give up.
The game is basically a background mouse.
It's still possible to use the webpage.
I miss the plum blossoms and the flowers miss me.
Love to listen to the pine wind and lie high. >>>More
Changle, Chu Han, Jingting, Xiangna, Daimei, Jiana, Tiancha, Yuqing, Lixue, Shuyan, Xiaoran, Naia, Nian, Xishu. >>>More
If you like it, I'm afraid you won't find what you like.
There is a 50% chance of success and a 50% chance of failure. >>>More
It's no problem to see! It's okay with **!
1.You only posted**,No post**,If it's just a data link, it doesn't matter! >>>More
i) A3=10-d, a6=10+2d, a10=10+6d from a4=10
a3, a6, a10 in proportional series. >>>More