I have this AutoIt script:
ControlFocus("Open", "", "Edit1")
Sleep(500)
ControlSetText("Open", "", "Edit1", $CmdLine[1])
Sleep(500)
ControlClick("Open", "", "Button1")
It types a file name inside a file selection window. I want to add "
before and after my string (the string I send as command line argument to my script).
I tried ControlSetText("Open", "", "Edit1", $CmdLine[1] & """)
but this results into error: Unterminated string.
.