Skip to content
benjf.com
benjf.com

  • Home
  • About
  • ✞ Faith
  • Opinion
    • Politics
    • Health
    • Movies
    • Music
    • ☺ For Fun
    • Random Awesomeness
  • Technology
    • Desktop
    • Android
    • ✉ Email
    • Privacy
    • Programming
      • HTML
      • CSS
      • Javascript
        • jQuery
      • PHP
      • SQL
        • SQL Server
      • Powershell
      • MS Access
      • WordPress
  • Productivity
benjf.com

AutoHotKey Tips

Writer #1, 2024-03-092024-08-11

I am in love with AutoHotKey, in a “man to computer application” sort of way. I use it all the time, perhaps several times per hour while I am on my computer, which is a majority of a typical day.

What is AutoHotKey? It’s a customizable Hot Key automation scripting application, I guess you might say.

Let’s say I want to type the date. Well, all I need to do it press the CTRL key and the ; key together, and voila! It spits out: 2024-03-09.

What about date and time?  I just press ALT and ; and it spits out: 2024-03-09 AM0746. (Why have “AM” before the time? Check here: https://benjf.com/2023/05/date-formatting-unites-the-world/ .)

If I type yw followed by a space or period or exclamation point or enter, it converts it to you're welcome plus whatever punctuation or next keystroke I used after it. This saves a ton of effort at work when people always end a conversation with “thanks!”. I just type yw and press enter and it converts it for me.

How about emojis? I type :) and it changes it to 😊. The list goes on and on.

So, if you use AutoHotKey, here are some of my shortcuts that you can implement:

Automatically Reload AutoHotKey

This is useful after you make a change to your AutoHotKey script. Rather than moving the mouse to the taskbar, hovering over the AutoHotKey icon, right clicking, and selecting “Reload This Script”, just press CTRL + ALT + r.

;----====----====----====----====----====----====----====----====
; Reload this script with Ctrl+Alt+R
;----====----====----====----====----====----====----====----====
^!r::Reload

Replace XD with 😆

;----====----====----====----====----====----====----====----====
;   REPLACE XD with laugh face
; (Smiling Face With Open Mouth And Tightly-Closed Eyes)
;----====----====----====----====----====----====----====----====*/
::XD::
SendInput {U+1F606}
return

Replace :) with 😊

;----====----====----====----====----====----====----====----====
;   REPLACE :) with smiley face
;----====----====----====----====----====----====----====----====*/
:::)::
SendInput {U+1F60A}
return

Replace :| with 😐

;----====----====----====----====----====----====----====----====
;   REPLACE :| with straight face
;----====----====----====----====----====----====----====----====*/
:::|::
SendInput {U+1F610}
return

Date Only

;----====----====----====----====----====----====----====
; Date Only
; Ctrl+;
;----====----====----====----====----====----====----====
^;::
FormatTime, TimeString, R, yyyy-MM-dd
space := " "
SendInput, %TimeString%%space%
return

Date Time Stamp

;----====----====----====----====----====----====----====
; DTS - No Spaces, No Symbols
; ALT + ;
;----====----====----====----====----====----====----====
!;::
;FormatTime, TimeString, R, yyyyMMddHHmmss
FormatTime, TimeString, R, yyyy-MM-dd tthhmm

space := " "
linebreak := "`+`r"
SendInput, %TimeString%%space%
return

Time Only

;----====----====----====----====----====----====----====
; Time Only
; Ctrl + Shift + ;
;----====----====----====----====----====----====----====
^+;::
FormatTime, TimeString, R, tt:hh:mm:ss
space := " "
SendInput, %TimeString%%space%
return

Media Controls


;----====----====----====----====----====----====----====
; Volume Up
; Alt + = OR Alt + plus on number pad
;----====----====----====----====----====----====----====
!=::
!NumpadAdd::
;SoundSet, +1
SendInput {Volume_Up 1}
return

;----====----====----====----====----====----====----====
; Volume Down
; Alt + - OR Alt + minus on number pad
;----====----====----====----====----====----====----====
!-::
!NumpadSub::
;SoundSet, -1
SendInput {Volume_Down 1}
return

;----====----====----====----====----====----====----====
; Volume MUTE
; Alt + m
;----====----====----====----====----====----====----====
!m::
!NumpadMult::
SendInput {Volume_Mute}  ;
return

;----====----====----====----====----====----====----====
; Media Play Pause
; Alt + p
;----====----====----====----====----====----====----====
!p::
!NumpadDiv::
SendInput {Media_Play_Pause}  ;
return

;----====----====----====----====----====----====----====
; Media Play Next
; Alt + .
;----====----====----====----====----====----====----====
!.::
SendInput {Media_Next}  ;
return

;----====----====----====----====----====----====----====
; Media Play Next
; Alt + ,
;----====----====----====----====----====----====----====
!,::
SendInput {Media_Prev}  ;
return

Abbreviations Expanded

;----====----====----====----====----====----====----====
;abbreviations
;----====----====----====----====----====----====----====
::::atm::at the moment
::btw::by the way
::rn::right now
::wo::waiting on
::FU::follow up
::idk::I don't know
::imo::in my opinion
::prob::probably
::ty::thank you
::yw::you're welcome

Also, you can get a massive list of auto-correct words here: https://www.autohotkey.com/download/AutoCorrect.ahk

Desktop Technology autohotkey

Post navigation

Previous post
Next post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Love Never Fails
  • FIXED! Left Audio Only on OBS with Behringer U-Phoria UMC204HD
  • Gnome Alt+Tab Window Switching; How to ungroup the windows
  • Pay or else
  • 1Password App Integration With Browser Extension on Kubuntu (or Debian Linux)

Recent Comments

  1. LOL on Major Federal Budget Cuts – do the math
  2. Writer #1 on Online Privacy In The United States
  3. More About Sortable Dates; Plus AutoHotKey Scripts! – benjf.com on Date/Time Formatting Can Unite The World
  4. AutoHotKey Tips – benjf.com on Date/Time Formatting Can Unite The World
  5. Kevin on Moving FDLAUNCHERLOG in SQL Server

Archives

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • April 2024
  • March 2024
  • November 2023
  • October 2023
  • September 2023
  • July 2023
  • June 2023
  • May 2023
  • October 2022
  • September 2022
  • August 2022
  • May 2022
  • December 2021
  • November 2021
  • September 2021
  • July 2021
  • June 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • May 2018
  • April 2018
  • February 2018
  • December 2017
  • September 2017
  • June 2017
  • May 2017
  • February 2017
  • January 2017
  • December 2016
  • August 2016
  • July 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • December 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • October 2013
  • September 2013
  • August 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • October 2012
  • September 2012
  • July 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009

Categories

  • Ai
  • Android
  • C#
  • CSS
  • Desktop
  • EMail
  • Faith
  • For Fun
  • Health
  • HTML
  • Javascript
  • jQuery
  • Just Info
  • Linux
  • Movies
  • MS Access
  • Music
  • Opinion
  • PHP
  • Politics
  • Powershell
  • Privacy
  • Productivity
  • Programming
  • Random Awesomeness
  • Self Hosting
  • SQL
  • SQL Server
  • Technology
  • Uncategorized
  • WordPress
©2025 benjf.com | WordPress Theme by SuperbThemes