I'm using Cyber Search for this. https://www.deviantart.com/cybergen49/art/CyberSearch-for-Rainmeter-826087442. I want to have a search bar on my desktop that when I type something in and hit enter the Everything app opens up and automatically searches a specified the network folder for what I entered into the search bar. I believe the only thing that needs to be changed is the line marked in red. Currently this will search my documents folder. 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"
[Rainmeter]
Update=-1
AccurateText=1
RightMouseUpAction=[!SkinCustomMenu]
ContextTitle=Edit
ContextAction=["#CONFIGEDITOR#" "#CURRENTPATH##CURRENTFILE#"]
ContextTitle2=-
ContextAction2=[]
ContextTitle3=Reload skin
ContextAction3=[!Refresh]
ContextTitle4=Unload Skin
ContextAction4=[!DeactivateConfig]
ContextTitle5=-
ContextAction5=[]
ContextTitle6=Standard context menu
ContextAction6=[!SkinMenu]
[Metadata]
Name=Search Bar
Author=CyberOfficial
Information=A straightforward search bar with search history. Customizable to your website of choice.
Version=1.0
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0
[Variables]
# Search settings
engineName=Schematics
engineIcon=#@#Schematics.png
# "{q}" (without quotes) will be replaced with the user's input.
[b][color=#FF0040]engineURLQuery="search-ms:crumb=folder:C:\Users\Hootis\OneDrive\Documents&query={q}"
[/color][/b]
# History storage
history1=poop
history2=skin
history3=RAINMETER
history4=sdsa
history5=asdsa
starterHistory=0
# Colour mode (Light or Dark)
# Tip: You can easily change this by double-clicking the search bar icon.
mode=Dark
# Search bar template import
# Don't change anything after this line!
@include=#@#searchBarTemplate.ini
Any help would be greatly appreciated.
Last edited by Hootistigglebits on April 3rd, 2024, 8:59 pm, edited 2 times in total.
Hootistigglebits wrote: ↑April 3rd, 2024, 7:49 pmI 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:
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/
Thanks for leading me in the right direction. The below command worked:
C:\Program Files\Everything\Everything.exe" -s parent:"C:\Users\Hootis\OneDrive\Documents {q}"
Hootistigglebits wrote: ↑April 4th, 2024, 12:29 am
Thanks for leading me in the right direction. The below command worked:
C:\Program Files\Everything\Everything.exe" -s parent:"C:\Users\Hootis\OneDrive\Documents {q}"