Just wondering, is there a reason why instead of hiding , moving the desktop does not work?
#Persistent
SetWinDelay, -1
SetTimer, WatchCursor, 100
return
WatchCursor:
CoordMode, Mouse, Screen
MouseGetPos, X, Y, id, control
WinGetTitle, title, ahk_id %id%
; WinGetClass, class, ahk_id %id%
;tooltip %title% %x%
If (title = "Program Manager") and ( X < 200 ) {
SetTimer, WatchCursor, off
x = 0
loop, 200
{
x := x + 1
;tooltip WinMove+
winmove, Program Manager, , %x%
}
sleep, 5000
loop, 200
{
x := x - 1
;tooltip WinMove-
winmove, Program Manager, , %x%
}
;tooltip WinMove End
SetTimer, WatchCursor, on
}
return