Code: Select all
MediaNameNoExt := "example1 example2"
Run "D:\Everything.exe" -maximized -search "%MediaNameNoExt%"
Code: Select all
A_Clipboard := "example1 example2"
Run '"D:\Everything.exe" -maximized -search ' . A_Clipboard
I have tried adding "" and %% but that didn't work.
I tried changing the positions of the double and single quotes but none of those attempts worked.
I have tried changing MediaNameNoExt to A_Clipboard but that didn't work either.
How can I get this to work?