buttonpushertv

TBIRD - New Message

Sep 9th, 2019
167
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; AutoHotKey - 1-Shot - TBIRD New Message
  2.  
  3. #NoEnv
  4. SetWorkingDir %A_ScriptDir%
  5. CoordMode, Mouse, Window
  6. SendMode Input
  7. #SingleInstance Force
  8. SetTitleMatchMode 2
  9. #WinActivateForce
  10. SetControlDelay 1
  11. SetWinDelay 0
  12. SetKeyDelay -1
  13. SetMouseDelay -1
  14. SetBatchLines -1
  15.  
  16. ;===== INITIALIZATION - VARIABLES ==============================================================
  17.  
  18. ; Sleep shortcuts - use these to standardize sleep times. Change here to change everywhere.
  19. sleepShort = 333
  20. sleepMedium = 666
  21. sleepLong = 1500
  22. sleepDeep = 3500
  23.  
  24. ;===== END OF AUTO-EXECUTE =====================================================================
  25.  
  26. ;===== MAIN HOTKEY DEFINITIONS HERE ============================================================
  27. WinActivate, ahk_class MozillaWindowClass
  28. Sleep, sleepLong
  29. Send, {RControl Down}
  30. Sleep, sleepShort
  31. Send, {n}
  32. Sleep, sleepShort
  33. Send, {RControl Up}
  34. ExitApp
RAW Paste Data