Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1424

Help: Rainmeter Skins • Re: How can I open an app in Windows 10 using this scru

$
0
0
I believe the only thing that needs to be changed is the line marked in red. [...] I'm supposed to be able to use the following to open everything and search the below example would open everything and automatically search for foo bar.
C:\Program Files\Everything\Everything.exe -s "foo bar"
Well, you kinda answered your own question - something like this should be close:

Code:

engineURLQuery="C:\Program Files\Everything\Everything.exe -s {q}"
The {q} part is replaced by what you type in the skin, as far as the code comments say, so if you typed "foo bar" a bang should execute the command you mentioned. Other than that it's possible that you'll have to play a bit with either single or multiple quotes when defining the engineURLQuery variable, e.g. "C:\Program Files\Everything\Everything.exe" "-s {q}" or even ""C:\Program Files\Everything\Everything.exe" "-s {q}"" considering that Rainmeter strips leading and ending quotes from the value of an option. See the beginning of this page for a few examples:
https://docs.rainmeter.net/manual/bangs/

Statistics: Posted by Yincognito — Today, 8:42 pm



Viewing all articles
Browse latest Browse all 1424

Trending Articles