Keyboard Script V2 |link| -

GetValue() return this.currentValue

// Move active window to the left half of the screen ^#Left:: $win = WinGetActive() WinMove($win, 0, 0, ScreenWidth() / 2, ScreenHeight()) return // Move active window to the right half of the screen ^#Right:: $win = WinGetActive() WinMove($win, ScreenWidth() / 2, 0, ScreenWidth() / 2, ScreenHeight()) return Use code with caution. Use Case 3: Automated Data Entry from CSV

$LButton::

: Right-click your desktop > New > AutoHotkey Script .

; Press CapsLock to act as Ctrl CapsLock::Ctrl keyboard script v2

: Remap keys like F1 or F2 to Volume_Up and Volume_Down .

; Ctrl + Down Arrow to decrease volume ^Down:: Loop 5 Send "Volume_Down" GetValue() return this

; Remap CapsLock to Ctrl CapsLock::Control