Advertisement
Guest User

settings

a guest
Nov 11th, 2021
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None
  1. #AllowSameLineComments
  2. Sleep, 500 ; This comment is a same-line comment.
  3.  
  4. #ClipboardTimeout Milliseconds
  5.  
  6. #CommentFlag NewString
  7. Changes to C++ comment style
  8. #CommentFlag //
  9. MsgBox, Test1 // This is a comment.
  10. MsgBox, Test2; This is not a comment and will be displayed by MsgBox.
  11.  
  12. #HotkeyInterval Milliseconds
  13. #HotkeyInterval 2000 ; This is the default value (milliseconds).
  14. #MaxHotkeysPerInterval 200
  15.  
  16. #HotkeyModifierTimeout 100
  17.  
  18. #Hotstring r c ; All the below hotstrings will use "send raw" and will be case sensitive by default.
  19. ::CEO::Chief Executive Officer 1
  20. ::ceo::Chief Executive Officer 2
  21. #Hotstring c0 ; Make all hotstrings below this point case insensitive.
  22. ::ceo::Chief Executive Officer
  23.  
  24. #If MouseIsOver("ahk_class Shell_TrayWnd")
  25. WheelUp::Send {Volume_Up}
  26. WheelDown::Send {Volume_Down}
  27. MouseIsOver(WinTitle) {
  28. MouseGetPos,,, Win
  29. return WinExist(WinTitle . " ahk_id " . Win)
  30. }
  31.  
  32. #InputLevel 1
  33. Numpad0::LButton
  34. #InputLevel 0
  35. ; This hotkey can be triggered by both Numpad0 and LButton:
  36. ~LButton::MsgBox Clicked
  37.  
  38. Process, priority, , High
  39.  
  40. #KeyHistory 100
  41. KeyHistory
  42.  
  43. #MaxMem Megabytes
  44. #MaxMem 256
  45.  
  46. #MaxThreads 2
  47.  
  48. #MaxThreadsPerHotkey 3
  49.  
  50. #NoEnv
  51.  
  52. #NoTrayIcon
  53.  
  54. #Persistent
  55.  
  56. #Requires AutoHotkey v1.1.33+
  57. MsgBox This script will run only on v1.1.33.00 and later v1.1.* releases.
  58.  
  59. #SingleInstance Force
  60. #SingleInstance Off
  61.  
  62. #Warn
  63.  
  64. #WinActivateForce
Advertisement
RAW Paste Data Copied
Advertisement