Code: Select all
MsgBox % "Windows 11 Pro " A_OSVersion, "The below is copied to the clipboard.", 262144
Clipboard := Windows 11 Pro “ “ A_OSVersion
Code: Select all
MsgBox % "Windows 11 Pro " A_OSVersion, "The below is copied to the clipboard.", 262144
Clipboard := Windows 11 Pro “ “ A_OSVersion
Using a % symbol followed by a space to force an expression is a v1 thing. Everything in v2 is already an expression. Get rid of the % symbol.LAPIII wrote: ↑Code: Select all
MsgBox % "Windows 11 Pro " A_OSVersion, "The below is copied to the clipboard.", 262144 Clipboard := Windows 11 Pro “ “ A_OSVersion
Code: Select all
MsgBox "Windows 11 Pro " A_OSVersion, "The below is copied to the clipboard.", 262144
A_Clipboard := "Windows 11 Pro " A_OSVersion