Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #AllowSameLineComments
- Sleep, 500 ; This comment is a same-line comment.
- #ClipboardTimeout Milliseconds
- #CommentFlag NewString
- Changes to C++ comment style
- #CommentFlag //
- MsgBox, Test1 // This is a comment.
- MsgBox, Test2; This is not a comment and will be displayed by MsgBox.
- #HotkeyInterval Milliseconds
- #HotkeyInterval 2000 ; This is the default value (milliseconds).
- #MaxHotkeysPerInterval 200
- #HotkeyModifierTimeout 100
- #Hotstring r c ; All the below hotstrings will use "send raw" and will be case sensitive by default.
- ::CEO::Chief Executive Officer 1
- ::ceo::Chief Executive Officer 2
- #Hotstring c0 ; Make all hotstrings below this point case insensitive.
- ::ceo::Chief Executive Officer
- #If MouseIsOver("ahk_class Shell_TrayWnd")
- WheelUp::Send {Volume_Up}
- WheelDown::Send {Volume_Down}
- MouseIsOver(WinTitle) {
- MouseGetPos,,, Win
- return WinExist(WinTitle . " ahk_id " . Win)
- }
- #InputLevel 1
- Numpad0::LButton
- #InputLevel 0
- ; This hotkey can be triggered by both Numpad0 and LButton:
- ~LButton::MsgBox Clicked
- Process, priority, , High
- #KeyHistory 100
- KeyHistory
- #MaxMem Megabytes
- #MaxMem 256
- #MaxThreads 2
- #MaxThreadsPerHotkey 3
- #NoEnv
- #NoTrayIcon
- #Persistent
- #Requires AutoHotkey v1.1.33+
- MsgBox This script will run only on v1.1.33.00 and later v1.1.* releases.
- #SingleInstance Force
- #SingleInstance Off
- #Warn
- #WinActivateForce
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement