Skip to content

kevingrillet/AutoHotkeyScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoHotkeyScript

License: GPL v3 Windows 10 AutoHotkey v1.1.33.08 Visual Studio Code

My AHK script used daily.

Functionnalities

AutoHotkeyScript.ahk

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 Reddit
Win + Enter πŸ’» Open PowerShell [powershell.exe] as Administrator Reddit
Win + ScrollLock β›” Suspend AHK script AHK 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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published