Skip to content

Instantly share code, notes, and snippets.

@JoeGlines
Created June 1, 2020 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoeGlines/0e741887210ab06612b1a15f41bbdf82 to your computer and use it in GitHub Desktop.
Save JoeGlines/0e741887210ab06612b1a15f41bbdf82 to your computer and use it in GitHub Desktop.
Just some of the cool built-in variables
;~ #Include <default_Settings>
;**Built in variables https://www.autohotkey.com/docs/Variables.htm#BuiltIn ***
:o:vcn.::
Send % A_ComputerName ;Sends computer name
return
:o:vun.::
send % A_UserName
return
:o:vmd.::
Send % A_MyDocuments
return
:o:vad.::
Send % A_AppData
return
:o:vdt.:: ; This hotstring replaces "vdate" with the current date and time via the commands below.
FormatTime, CurrentDateTime,, LongDate
Send % CurrentDateTime
return
:o:vbt.::
Hours:=Round(((A_TickCount/1000)/60)/60,1)
Send % hours
return
:o:vwin.::
Send % A_OSVersion
return
:o:vres.::
Send % A_ScreenWidth " x " A_ScreenHeight
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment