I would make them variants. Each variant would have the name of the engine. Google.ini| Schematics.ini, etc.
Then, simply move the whole [rainmeter] section to the searchBarTemplate.ini file and set the context menu to switch between them by simply activating them using the [!ActivateConfig "config" "file"] bang, since they're variants, one would unload to load the other automatically.
Since each history is stored on its own engine file, it would show the correct history automatically.
So, just do this: rename each search.ini file to the name of the engine as I described above and move them to the root folder (CyberSearch).
Open any of the files and cut the whole [rainmeter] section and paste it on searchBarTemplate.ini file.
Modify the contextTitle and contextAction options like this:
And so on.
Finally delete the [Rainmeter] section on all 5 bar skins, so all of them use the [Rainmeter] section you just added to searchBarTemplate.ini
And that's it. Now just refresh rainmeter, then load google.ini then right click on it and it should switch when you select the correct option.
Then, simply move the whole [rainmeter] section to the searchBarTemplate.ini file and set the context menu to switch between them by simply activating them using the [!ActivateConfig "config" "file"] bang, since they're variants, one would unload to load the other automatically.
Since each history is stored on its own engine file, it would show the correct history automatically.
So, just do this: rename each search.ini file to the name of the engine as I described above and move them to the root folder (CyberSearch).
Open any of the files and cut the whole [rainmeter] section and paste it on searchBarTemplate.ini file.
Modify the contextTitle and contextAction options like this:
Code:
ContextTitle=GoogleContextAction=[!ActivateConfig "CyberSearch" "Google.ini"]ContextTitle2=SchematicsContextAction2[!ActivateConfig "CyberSearch" "Schematics.ini"]
Finally delete the [Rainmeter] section on all 5 bar skins, so all of them use the [Rainmeter] section you just added to searchBarTemplate.ini
And that's it. Now just refresh rainmeter, then load google.ini then right click on it and it should switch when you select the correct option.
Statistics: Posted by RicardoTM — Yesterday, 11:14 pm