tabnation

ahk hot corners

Nov 22nd, 2022
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. #Persistent
  2. CoordMode Mouse
  3. SetTimer incorner,250
  4. Return
  5.  
  6. incorner:
  7. MouseGetPos currentx,currenty
  8. If (currentx=0 && currenty=0) ;top left
  9. {
  10. FormatTime, TimeString
  11. send, Date is %TimeString% {enter}
  12. sleep 500
  13. }
  14. Else If (currentx=A_ScreenWidth-1 && currenty=0) ;top right
  15. {
  16. msgbox, Hello World
  17. }
  18. Else If (currentx=0 && currenty=A_ScreenHeight-1) ;bottom left
  19. {
  20. run, calc
  21. }
  22. Else If (currentx=A_ScreenWidth-1 && currenty=A_ScreenHeight-1) ;bottom right
  23. {
  24. msgbox, Sub to tabnation to learn!!!!
  25. }
  26. Return
Advertisement
Add Comment
Please, Sign In to add comment