AHK-v2-script-converter
AHK-v2-script-converter copied to clipboard
Assignment line not translated well when using double quotes
This v1 line
Clipboard := "Powershell -command ""Get-CimInstance -ClassName win32_operatingsystem | Select-Object CSName, LastBootUpTime | FT -Autosize"""
is translated to v2 line
A_Clipboard := "Powershell -command ""Get-CimInstance -ClassName win32_operatingsystem | Select-Object CSName, LastBootUpTime | FT -Autosize"""
Must be using escaped quote otherwise it gives an autohotkey error
A_Clipboard := "Powershell -command
"Get-CimInstance -ClassName win32_operatingsystem | Select-Object CSName, LastBootUpTime | FT -Autosize""