AutoHotkey Windows Shortcuts
AutoHotkey is a powerful utility that lets you create custom keyboard shortcuts for any software or Windows operating system. This simple script helps you automate repetitive tasks and boost your productivity.
What is AutoHotkey?
AutoHotkey is a free, open-source scripting language for Windows that allows you to:
- Create custom keyboard shortcuts
- Automate repetitive tasks
- Send keystrokes and mouse clicks
- Create hotkeys for any application
Video Tutorial
💡 Enjoyed this video?
Installation
- Download AutoHotkey from official website
- Install the application
- Create a new
.ahk
file with your shortcuts - Run the script
Ready-to-Use Shortcuts Script
Here's a collection of useful shortcuts that you can use immediately:
; Windows Screenshot shortcuts
F10::Send #+s
; Teams mute/unmute
ins::Send ^+M
; Windows Record
F11::Send #+r
; Quick text expansions for testing
!r::Send {ctrl down}b{ctrl up}Actual Result:
!e::Send {ctrl down}b{ctrl up}Expected Result:
!a::Send {ctrl down}b{ctrl up}Actual Result:
; Playwright locator snippet
^u::Send public ILocator Loc => _Page.Locator();
; Common test data
!p::Send SecretPassword
!u::Send test@abcd.com
; Quick text for documentation
!l::Send Automation for
!c::Send Test case creation for
; Window management
F9::Send #+{Left}
!d::Send ^!+x
; Quick links and names
^l::Send https://linktr.ee/gauravkhurana
!g::Send Gaurav Khurana
; Git commands
^t::Send git pull origin main
How to Use
- Save the above code in a file with
.ahk
extension (e.g.,shortcuts.ahk
) - Double-click to run the script
- Use the shortcuts as defined:
F10
- Take screenshotInsert
- Mute/unmute in TeamsAlt + R
- Insert "Actual Result:" with bold formattingAlt + E
- Insert "Expected Result:" with bold formattingCtrl + U
- Insert Playwright locator code- And many more...
Benefits
✅ Increased Productivity - Reduce repetitive typing
✅ Consistent Formatting - Same text format every time
✅ Quick Access - Instant shortcuts for common tasks
✅ Customizable - Easy to modify for your needs
✅ Universal - Works with any Windows application
Customization Tips
- Modify the shortcuts to match your workflow
- Add your own frequently used text snippets
- Use different key combinations for different applications
- Test shortcuts to avoid conflicts with existing software
Social Links
Connect with me for more automation tips:
Boost your productivity with these simple yet powerful shortcuts. Start small, then expand your script as you discover more automation opportunities.