My AHK script used daily.
It's a script that adds useful functionality to my keyboard.
| Control | Action | Source |
|---|---|---|
Shift + Numpad plus |
π’ Volume Up | AHK Doc |
Shift + Numpad minus |
π£ Volume Down | AHK Doc |
Break (Pause/Break) |
π Toogle Volume Mute | AHK Doc |
Ctrl + Shift + c |
π Search highlighted text on Google | AHK Forum |
Ctrl + Shift + x |
π Search highlighted text on YouTube | Edited from the previous |
Ctrl + Win + Enter |
π» Open Console [cmd.exe] as Administrator |
|
Win + Enter |
π» Open PowerShell [powershell.exe] as Administrator |
|
Win + ScrollLock |
β Suspend AHK script | AHK Doc |
Ctrl + F2 |
π Call RobocopyHelperGUI.ahk |
Robocopy allows you to sync two directories. This means either ensuring all files in the destination directory are in the source directory and no more.
Using those options:
/MIRwill replicate data copying all files in the source not in the destination and delete files in the destination not in the source. Beware!
/W:0Wait time between retries.
/R:0Number of retries on failed copies.
Resulting in this command:
robocopy /MIR C:\src C:\dst /W:0 /R:0
- Src: location in clipboard
- Dst: current explorer location
Example:
- Ctrl + C the folder you want to copy
- Ctrl + F2 in the folder you want to move the content of the folder previously add to copy.
- A popup will show to help view what you are doing.
- OK will start the rebocopy.
- Install AHK
- Done
- Double-click on
AutoHotkeyScript.ahk - Done
- Press
Win + R, typeshell:startup, then selectOK. This opens the Startup folder - Copy/Paste
AutoHotkeyScript.ahkshortcut here - Done