Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #EscapeChar `
- #NoEnv ; Rec'd for all new scripts for performance - prevents empty vars from being looked up as potential environment variables.
- #SingleInstance, force
- DetectHiddenWindows, On
- SetWinDelay, 50
- SetNumLockState On
- ; Date-TIME yyMMdd-HHmm
- MButton::
- FormatTime, CurrTime1, A_now, yyMMdd-
- Send, %CurrTime1%
- FormatTime, CurrTime2, A_now, HH
- Send, %CurrTime2%
- SendInput {U+A789}
- FormatTime, CurrTime3, A_now, mm
- Send, %CurrTime3%
- return
- ;--------------------------------------------------------------
- ; DATE yyMMdd
- RAlt & d::
- FormatTime, CurrDate, A_now, yyMMdd
- Send, %CurrDate%
- return
- ;——————————————————————————————————————————————————————————————
- ; DUPLICATE Chrome tabs with LAlt+D
- #If WinActive("ahk_exe Chrome.exe")
- !d::send !d!{Enter}
- #If
- ;——————————————————————————————————————————————————————————————
- ; Sound DOWN or UP
- ^+F10::SoundSet,-3 ; press CTRL ("^"), Shift ("+"), and F10
- ^+F11::SoundSet,+3 ; press CTRL ("^"), Shift ("+"), and F10
- ;——————————————————————————————————————————————————————————————
- ; COMMON FILENAME RESTRICTIONS, SUBSTITUTED for creative filenames
- ; Back slash (⧵)
- LAlt & \::SendInput {U+29F5}
- ;--------------------------------------------------------------
- ; Forward slash (∕)
- LAlt & /::SendInput {U+2215}
- ;--------------------------------------------------------------
- ; Colon (꞉)
- LAlt & `;::SendInput {U+A789}
- ;--------------------------------------------------------------
- ; Asterisk (*)
- LAlt & 8::SendInput {U+204E}
- LALT & NumpadMult::SendInput {U+204E}
- ;--------------------------------------------------------------
- ; Question mark (?)
- LAlt & ?::SendInput {U+FF1F}
- ;--------------------------------------------------------------
- ; Quotation / speech marks (“)
- LAlt & 2::SendInput {U+201C}
- ;--------------------------------------------------------------
- ; Quotation / speech marks (”)
- RAlt & 2::SendInput {U+201D}
- ;--------------------------------------------------------------
- ; Less than sign (<)
- LAlt & <::SendInput {U+FF1C}
- ;--------------------------------------------------------------
- ; Greater than sign (>)
- LAlt & >::SendInput {U+FF1E}
- ;--------------------------------------------------------------
- ; Vertical-Pipe line (|)
- LAlt & |::SendInput {U+23D0}
- ;--------------------------------------------------------------
- ; Up arrow (↑)
- LAlt & Up::SendInput {U+2191}
- ;--------------------------------------------------------------
- ; Down arrow (↓)
- LAlt & Down::SendInput {U+2193}
- ;--------------------------------------------------------------
- ; Right arrow (→)
- LAlt & Right::SendInput {U+2192}
- ;--------------------------------------------------------------
- ; Left arrow (←)
- LAlt & Left::SendRaw «
- ; SendInput {U+2190}
Advertisement
Advertisement