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

Help: Rainmeter Skins • Re: Help Creating a Drop Down Menu

$
0
0
Thanks. Seems to be working great, but I do have an additional question. How do I change the look of the context menu so that it matches the search bar? Also as a second option how would I go about making the icon on the search bar scrollable when the mouse cursor is over it so that I can use the mouse wheel to select the search engine of choice?
The color of the context menu is controlled by your current Windows theme. You could create meters that simulate that menu and hide/show them OR look at death.crafter's post on how to create custom context menus.

To add scroll down change to the logo, you need to add a variable to each search engine skin [Variables] section: CurrentEngine=0 to Google.ini,
CurrentEngine=1 to Youtube.ini, and
CurrentEngine=2 to Reddit.ini.

Then in the searchbartemplate.ini [Variables] section, add 3 new variables:

Code:

Engine0=GoogleEngine1=YoutubeEngine2=Reddit
Finally, in the searchbartemplate.ini modify the [EngineLogo] section:

Code:

[EngineLogo]Meter=ImageImageName="#engineIcon#"X=12Y=8W=24H=24SolidColor=00000001TooltipText=Double click me to change the colour mode!#CRLF#(It could take a few seconds)MouseActionCursor=0LeftMouseDoubleClickAction=[!SetVariable switchMode 1][!Update]MouseScrollDownAction=[!SetVariable CurrentEngine ((#CurrentEngine#+1)%3)][!ActivateConfig "CyberSearch" "[#Engine[#CurrentEngine]].ini"]DynamicVariables=1
Save and refresh to allow you to scroll down on the logo and switch through each search engine.

Statistics: Posted by eclectic-tech — Today, 2:01 am



Viewing all articles
Browse latest Browse all 1576

Trending Articles