Focus on process/.exe
Hey all.
I made a simple bot for maplestory, but the bot sometimes annoy me when I try other things like surfing on internet or if I want to go on MSN.
I already found the code for checking if the process is running.
But now I need to focus my program, and what program now is on focus.
I hope somebody can help me
.
I made a simple bot for maplestory, but the bot sometimes annoy me when I try other things like surfing on internet or if I want to go on MSN.
I already found the code for checking if the process is running.
Code:
If Process.GetProcessesByName("explorer").Length = 1 then
End if
I hope somebody can help me
.
?