I'm trying to achieve something similar but instead of trying to skip/play/pause actions I'd like to switch multiple PSS global variables to a different value.
The proposed solution on the previous thread works, I'm not sure what OP is doing but this for example to go to next song and then pause works fine:
cmd /c start "1" "Z:\foobar2000\foobar2000.exe" "/command:next" & ping 127.0.0.1 -n 1>nul & start "2" "Z:\foobar2000\foobar2000.exe" "/command:pause" & ping 127.0.0.1 -n 1>nul
However I'm trying to use this method to setglobal in PSS, this doesn't work however:
cmd /c start "1" "Z:\foobar2000\foobar2000.exe" "SETGLOBAL:_ELP.TYPE:3;%_REFRESH%;REFRESH" & ping 127.0.0.1 -n 1>nul & start "2" "Z:\foobar2000\foobar2000.exe" "SETGLOBAL:_BACKART:0;%_REFRESH%;REFRESH" & ping 127.0.0.1 -n 1>nul
All this does is pop up a cmd window for a flash and nothing happens. I'm not getting an error message however so I believe I'm on the right track here.
Any advice?
I tried changing to
"/SETGLOBAL:_BACKART:0;%_REFRESH%;REFRESH"
or
"SETGLOBAL:_BACKART:0;REFRESH"
or
"SETGLOBAL:_BACKART:0;%_REFRESH%"
all of these give an unknown commandline paramater error.