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

Help: Rainmeter Skins • Control one skin with another

$
0
0
Heyo. I found myself playing with Rainmeter skins again after a solid break (got to overwhelmed lol or I went to ambitious with my basically non-existing "coding" knowledge). So anyway. I'll try to put it out as simple as I can, but my english might interrupt ;w;

My folder structre looks like that:

\ForumTestRun_1\main.ini (main skin)
\ForumTestRun_1\Blocky\blocky.ini (2nd skin acting like a blocking thing)

So.. I'm trying to control the main.ini with blocky.ini. Can't really explain that so here's the code:

main.ini

Code:

[Rainmeter]Update=1000[MeterMain]Meter=ShapeShape=Rectangle 0,0,460,210 |Fillcolor 113,200,153,255Hidden=0[MeterMainText]Meter=StringText=im stoopid.FontSize=30FontWeight=900
blocky.ini

Code:

[Rainmeter]Update=1000[MeterButton]Meter=ImageSolidColor=255,255,255,1Y=145X=158W=30H=30LeftMouseUpAction=[!ShowMeter MeterBlocky][!SetTransparency "20" "ForumTestRun_1"][!Update]RightMouseDownAction=[!HideMeter MeterBlocky][!SetTransparency "255" "ForumTestRun_1"][!Update][MeterButtonIMG]Meter=ImageImageName=#@#Images\control.pngY=135X=148W=50[MeterBlocky]Meter=ShapeShape=Rectangle 0,0,460,210 | Fill Color 255,255,255,1 | Strokewidth 2 | Stroke Color 255,0,0,255Hidden=1
To save you time from copying that and testing, here's a short video: https://i.imgur.com/bRorgbC.mp4

SO - it works via LeftMouseUpAction and RightMouseDownAction. My goal here is to make it work only with LeftMouseUpAction. I tried it like this:

Code:

LeftMouseUpAction=[!ToggleMeter MeterBlocky][!SetTransparency "20" "ForumTestRun_1"][!Update]
But then I couldn't figure out how to "Toggle" the Transparency thing from "20" to "255".. So yeah, here's your daily trivial thing that I tried to make work for past few hours :P If there's a simpler way of doing that, I'd love to read that ^^

PS: If I have other problems beside this one, should I keep using that topic or create new one?
PS2: If you're reading this - thank you Balala for your previous help with my "flower buttons" :D I still have them neatly waiting for me to finish that skin LOL (sorry for not responding in the old topic, but I guess I shouldn't "re-open" the old thing)

EDIT1: Forgot to add lol. That's just the basic idea, I know I could use like SolidColor thing in the bangs and it'd be much easier probably, but on the skin I'm working on there's just too much of different transparency "values" to set (it's a mess) - so the "global" transparency works for me ^^

Statistics: Posted by katt — 15 minutes ago — Replies 0 — Views 7



Viewing all articles
Browse latest Browse all 1082

Trending Articles