I am using the below command in CMD with all its parameters with no problems. the double quotes are necessary for the app to work correctly.
"C:\Program Files (x86)\Youtube-dl\youtube-dl.exe" -f "best[height=720]" -o "C:/Storage/%(title)s.%(ext)s" URL
To run the same command from inside an AHK script, I only added the Run command:
Run, "C:\Program Files (x86)\Youtube-dl\youtube-dl.exe" -f "best[height=720]" -o "C:/Storage/%(title)s.%(ext)s" URL
The problem is that when I try to run the script I am getting an error:
The conflict must be with the special symbols in that specific parameter. I tried triple quotes and double percentages and an accent before the dot but the problem remains.The following variable name contains an illegal character:
"(title)s."
The program will exit.
Any idea how to fix this?