Code: Select all
#Requires AutoHotkey v1.1.35
Clipboard := "" ; Use Clipboard
Clipboard := 1 + 2
ClipWait 1
MsgBox % ErrorLevel
A_Clipboard := "" ; Use A_Clipboard
A_Clipboard := 1 + 2
ClipWait 1
MsgBox % ErrorLevel
AHK v1.1.37.01 on Win 11 Pro.
[v1.1.35+]: A_Clipboard is an alias of Clipboard.