Skip to content

Repository files navigation

AutoHotkeyScript

License: GPL v3Windows 10AutoHotkey v1.1.33.08Visual Studio Code

My AHK script used daily.

Functionnalities

AutoHotkeyScript.ahk

It's a script that adds useful functionality to my keyboard.

ControlActionSource
Shift + Numpad plus📢 Volume UpAHK Doc
Shift + Numpad minus📣 Volume DownAHK Doc
Break (Pause/Break)🔇 Toogle Volume MuteAHK Doc
Ctrl + Shift + c🔍 Search highlighted text on GoogleAHK Forum
Ctrl + Shift + x🔍 Search highlighted text on YouTubeEdited from the previous
Ctrl + Win + Enter💻 Open Console [cmd.exe] as AdministratorReddit
Win + Enter💻 Open PowerShell [powershell.exe] as AdministratorReddit
Win + ScrollLock⛔ Suspend AHK scriptAHK Doc
Ctrl + F2📂 Call RobocopyHelperGUI.ahk

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:

/MIR will replicate data copying all files in the source not in the destination and delete files in the destination not in the source. Beware!

/W:0 Wait time between retries.

/R:0 Number 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

Requirements

  • Install AHK
  • Done

Usage

  • Double-click on AutoHotkeyScript.ahk
  • Done

Add to startup

  • Press Win + R, type shell:startup, then select OK. This opens the Startup folder
  • Copy/Paste AutoHotkeyScript.ahk shortcut here
  • Done

About

My AHK script used daily.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages