Anyway, here's a bodge using Auto HotKey and Windows Magnifier:
Code: Select all
#MaxThreadsPerHotkey 3
#p:: ; Win+P hotkey (change this hotkey to suit your preferences).
#MaxThreadsPerHotkey 1
if KeepWinZRunning ; This means an underlying thread is already running the loop below.
{
KeepWinZRunning := false ; Signal that thread's loop to stop.
return ; End this thread so that the one underneath will resume and see the change made by
the line above.
}
; Otherwise:
KeepWinZRunning := true
Loop
{
; The next four lines are the action you want to repeat (update them to suit your preferences):
PixelSearch, mouseX, mouseY, 0, 0, 1024, 640, 0xFF00FF, 10, Fast
; Searches for pink, 10 out of 255 tolerance, fast searches top to bottom.
MouseMove, mouseX, mouseY, 0
; moves the mouse to the pink pixel.
; But leave the rest below unchanged.
if not KeepWinZRunning ; The user signaled the loop to stop by pressing Win-Z again.
break ; Break out of this loop.
}
KeepWinZRunning := false ; Reset in preparation for the next press of this hotkey.
return
This script moves the cursor in the active window (which has to be 1024x640 big) to the highest pixel with a colour roughly (255, 255, 0) on pressing and holding F1.
Started/paused with Win+p, once you've got Generally window the focus!
With Windows Magnifier (Accessories > Accessibility), this makes the Magnifier screen follow a pink car in the game. (Personally, I prefer this magnifier http://www.iconico.com/download.aspx?app=Magnifier, with its smooth function)
Cons:
You can't use a track with a stand in it - stands have people of all colours, including pink.
This is very jerky - as the car rotates, different pixels are picked on, moving the viewpoint around rapidly.
What do you think?!