Created
June 1, 2020 23:14
-
-
Save JoeGlines/0e741887210ab06612b1a15f41bbdf82 to your computer and use it in GitHub Desktop.
Just some of the cool built-in variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;~ #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