ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Skrommel's Software

About Hide desktop

(1/1)

spazpunt:
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

Navigation

[0] Message Index

Go to full version