Posted: Sun Jul 28, 2019 3:24 am Post subject: how to script work in mluti window
Now I have made a script for the game and want to work on more than one window because this game opens more than once
I want to make everyone work at the same time
If you do not understand me
i need to make AutoAttach to mluti window and start the script in 1 time
Posted: Sun Jul 28, 2019 5:01 am Post subject: Re: how to script work in mluti window
this is my auto attach game, maybe not the best
u must create 1 Timer
Code:
game = "yourgame.exe"
UDF1.CETimer1.interval = 1000
function CETimer1Timer(sender)
if readInteger(game) then
UDF1.CETimer1.interval = 100
if getForegroundProcess() == getOpenedProcessID() then
--Status : Attached, Focused
else
--Status : Attached, Not Focused
end
else
UDF1.CETimer1.interval = 5000
--Status : Not Attached, re attaching every 5 seconds
openProcess(game)
end
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum