Advertisement
DevTricks

Линии на экране вокруг мыши

Mar 14th, 2022
2,013
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #SingleInstance, force
  2. Coordmode Mouse, Screen
  3. xpos1:=0
  4. ypos1:=0
  5. Loop
  6. {
  7.     MouseGetPos, xpos, ypos
  8.     If (xpos!=xpos1 and ypos!=ypos1)
  9.     {
  10.         Splashimage 1:,% "B W" 100 "H3 Y" ypos-50 "X" xpos-50 "CWFF0000"
  11.         Splashimage 2:,% "B W" 100 "H3 Y" ypos+50 "X" xpos-50 "CWFF0000"
  12.         Splashimage 3:,% "B H" 100 "W3 X" xpos-50 "Y" ypos-50 "CWFF0000"
  13.         Splashimage 4:,% "B H" 103 "W3 X" xpos+50 "Y" ypos-50 "CWFF0000"
  14.         xpos1:=xpos
  15.         ypos1:=ypos
  16.     }
  17. }
  18.  
  19. F2:: ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement