Jump to content

problem


Recommended Posts

I am not sure what do you really want but i try to explain what i wrote ;)

HotKeySet("{F2}", "stop")

$color = 0xF0F4F9; color of empty field in SciTE editor :)
While 1 
If PixelGetColor(658, 328) = $color Then 
MouseMove(800, 600)
EndIf
WEnd

Func stop()
    Exit
EndFunc

I add stop function because you can have problems with end script :evil:

Insert this code to your editor, run & you will se mouse move to 800,600 beacuse there is a 0xFOF4F9 color

If you push Win+D (key with windows logo) then all windows go minimized and mouse move was stopped :evil:

Edited by Sobiech

This world is crazy

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...