It is currently June 23rd, 2024, 11:29 pm

Don't know what I'm doing, would like help

Get help with creating, editing & fixing problems with skins
User avatar
CaptCannonChris
Posts: 3
Joined: May 22nd, 2024, 8:14 pm

Don't know what I'm doing, would like help

Post by CaptCannonChris »

I'm new to rainmeter and have next to zero clue with how to operate the coding and stuff. I'm trying to do something that is probably pretty simple, but I am really struggling.
My goal is to press the button, the slider thing come out, then have the games show up. Click it again, have them go away.
Here's a little gif helping explain my objective:
Untitledvideo-MadewithClipchamp-ezgif.com-video-to-gif-converter.gif
I have the pieces to the puzzle, I just don't know how to put it together. Here's the coding to the three skins I'm using:

The clickable words:

Code: Select all

[Rainmeter]
Author=axerron.deviantart.com
Update=30000
BackgroundMode=1
MiddleMouseUpAction=!Execute ["#ROOTCONFIGPATH#Variables.txt"]

[Metadata]
Name=Skyrim Launcher
Description=Launcher buttons with customizable text and paths for your apps. Inspired by Skyrim item menu UI.
Instructions=Instructions: Set the text and paths to your applications in Variables.txt file. Middle-mouse click to open it instantly.
Version=2.0
Tags= Launcher | Skyrim |
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0

[Variables]
FontColorPassive=888888
FontColorActive=f2f2f2
FontFace=Futura LT Condensed
FontSize=37
StringEffect=SHADOW
FontEffectColor=3a3a3a
@include="#ROOTCONFIGPATH#Variables.txt"

;........................................................................
;Meters
;........................................................................


; ===========App1===========

[AppButton1Passive]
Meter=STRING
x=0
y=0
SolidColor=0,0,0,1
Text=#App1Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
MouseOverAction=!Execute [!ShowMeter AppButton1Active][!HideMeter AppButton1Passive][!Update]

[AppButton1Active]
Meter=STRING
x=r
y=r
SolidColor=0,0,0,1
Text=#App1Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorActive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
Hidden=1
DynamicVariables=1
LeftMouseUpAction=!Execute [!CommandMeasure MeasureSlider "Execute #State#"][!ShowMeter AppButton1Passive][!HideMeter AppButton1Active][!Update]
MouseLeaveAction=!Execute [!ShowMeter AppButton1Passive][!HideMeter AppButton1Active][!Update]


; ===========App2===========

[AppButton2Passive]
Meter=STRING
x=0
y=70r
SolidColor=0,0,0,1
Text=#App2Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
MouseOverAction=!Execute [!ShowMeter AppButton2Active][!HideMeter AppButton2Passive][!Update]

[AppButton2Active]
Meter=STRING
x=r
y=r
SolidColor=0,0,0,1
Text=#App2Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorActive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!Execute ["#App2Path#"][!ShowMeter AppButton2Passive][!HideMeter AppButton2Active][!Update]
MouseLeaveAction=!Execute [!ShowMeter AppButton2Passive][!HideMeter AppButton2Active][!Update]


; ===========App3===========

[AppButton3Passive]
Meter=STRING
x=0
y=70r
SolidColor=0,0,0,1
Text=#App3Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
MouseOverAction=!Execute [!ShowMeter AppButton3Active][!HideMeter AppButton3Passive][!Update]

[AppButton3Active]
Meter=STRING
x=r
y=r
SolidColor=0,0,0,1
Text=#App3Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorActive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!Execute ["#App3Path#"][!ShowMeter AppButton3Passive][!HideMeter AppButton3Active][!Update]
MouseLeaveAction=!Execute [!ShowMeter AppButton3Passive][!HideMeter AppButton3Active][!Update]


; ===========App4===========

[AppButton4Passive]
Meter=STRING
x=0
y=70r
SolidColor=0,0,0,1
Text=#App4Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
MouseOverAction=!Execute [!ShowMeter AppButton4Active][!HideMeter AppButton4Passive][!Update]

[AppButton4Active]
Meter=STRING
x=r
y=r
SolidColor=0,0,0,1
Text=#App4Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorActive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!Execute ["#App4Path#"][!ShowMeter AppButton4Passive][!HideMeter AppButton4Active][!Update]
MouseLeaveAction=!Execute [!ShowMeter AppButton4Passive][!HideMeter AppButton4Active][!Update]


; ===========App5===========

[AppButton5Passive]
Meter=STRING
x=0
y=70r
SolidColor=0,0,0,1
Text=#App5Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
MouseOverAction=!Execute [!ShowMeter AppButton5Active][!HideMeter AppButton5Passive][!Update]

[AppButton5Active]
Meter=STRING
x=r
y=r
SolidColor=0,0,0,1
Text=#App5Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorActive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!Execute ["#App5Path#"][!ShowMeter AppButton5Passive][!HideMeter AppButton5Active][!Update]
MouseLeaveAction=!Execute [!ShowMeter AppButton5Passive][!HideMeter AppButton5Active][!Update]


; ===========App6===========

[AppButton6Passive]
Meter=STRING
x=0
y=70r
SolidColor=0,0,0,1
Text=#App6Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
MouseOverAction=!Execute [!ShowMeter AppButton6Active][!HideMeter AppButton6Passive][!Update]

[AppButton6Active]
Meter=STRING
x=r
y=r
SolidColor=0,0,0,1
Text=#App6Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorActive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!Execute ["#App6Path#"][!ShowMeter AppButton6Passive][!HideMeter AppButton6Active][!Update]
MouseLeaveAction=!Execute [!ShowMeter AppButton6Passive][!HideMeter AppButton6Active][!Update]


; ===========App7===========

[AppButton7Passive]
Meter=STRING
x=0
y=70r
SolidColor=0,0,0,1
Text=#App7Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
MouseOverAction=!Execute [!ShowMeter AppButton7Active][!HideMeter AppButton7Passive][!Update]

[AppButton7Active]
Meter=STRING
x=r
y=r
SolidColor=0,0,0,1
Text=#App7Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorActive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!Execute ["#App7Path#"][!ShowMeter AppButton7Passive][!HideMeter AppButton7Active][!Update]
MouseLeaveAction=!Execute [!ShowMeter AppButton7Passive][!HideMeter AppButton7Active][!Update]


; ===========App8===========

[AppButton8Passive]
Meter=STRING
x=0
y=70r
SolidColor=0,0,0,1
Text=#App8Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
MouseOverAction=!Execute [!ShowMeter AppButton8Active][!HideMeter AppButton8Passive][!Update]

[AppButton8Active]
Meter=STRING
x=r
y=r
SolidColor=0,0,0,1
Text=#App8Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorActive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!Execute ["#App8Path#"][!ShowMeter AppButton8Passive][!HideMeter AppButton8Active][!Update]
MouseLeaveAction=!Execute [!ShowMeter AppButton8Passive][!HideMeter AppButton8Active][!Update]


; ===========App9===========

[AppButton9Passive]
Meter=STRING
x=0
y=70r
SolidColor=0,0,0,1
Text=#App9Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
MouseOverAction=!Execute [!ShowMeter AppButton9Active][!HideMeter AppButton9Passive][!Update]

[AppButton9Active]
Meter=STRING
x=r
y=r
SolidColor=0,0,0,1
Text=#App9Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorActive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!Execute ["#App9Path#"][!ShowMeter AppButton9Passive][!HideMeter AppButton9Active][!Update]
MouseLeaveAction=!Execute [!ShowMeter AppButton9Passive][!HideMeter AppButton9Active][!Update]


; ===========App10===========

[AppButton10Passive]
Meter=STRING
x=0
y=70r
SolidColor=0,0,0,1
Text=#App10Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorPassive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
MouseOverAction=!Execute [!ShowMeter AppButton10Active][!HideMeter AppButton10Passive][!Update]

[AppButton10Active]
Meter=STRING
x=r
y=r
SolidColor=0,0,0,1
Text=#App10Name#
FontFace=#FontFace#
FontSize=#FontSize#
FontColor=#FontColorActive#
StringAlign=LEFT
StringEffect=#StringEffect#
FontEffectColor=#FontEffectColor#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!Execute ["#App10Path#"][!ShowMeter AppButton10Passive][!HideMeter AppButton10Active][!Update]
MouseLeaveAction=!Execute [!ShowMeter AppButton10Passive][!HideMeter AppButton10Active][!Update]
The Sliding thing (its currently programmed so clicking it itself is what makes it slide out):

Code: Select all

[Rainmeter]
DynamicWindowSize=1

[Variables]
Z=[!UpdateMeasure ExtendClose][!Update][!Redraw]
N=0
State=1
Ext=0

[BarImage]
Meter=IMAGE
ImageName=#ROOTCONFIGPATH#Resources\skyrim_bar_ver.png
X=0
Y=0
W=(10+#Ext#)
H=3000
SolidColor=255,156,32
LeftMouseUpAction=[!CommandMeasure "ExtendClose" "Execute #State#"][!SetVariable "State" "(3-#State#)"]
DynamicVariables=1




[ExtendClose]
measure=Plugin
Plugin=ActionTimer
ActionList1=Repeat Extend, 0, 20
ActionList2=Repeat Close, 0, 20
Extend=[!SetVariable N "(Clamp((#N#+1),0,20))"][!SetVariable Ext "(trunc(410*(1-1/(128**(0.05*#N#)))))"]#Z#
Close=[!SetVariable N "(Clamp((#N#-1),0,20))"][!SetVariable Ext "(trunc(#Ext#*(1-1/(128**(0.05*#N#)))))"]#Z#
DynamicVariables=1
The games thing:

Code: Select all

[Rainmeter]
RightMouseUpAction=!Execute [!SkinCustomMenu]
ContextTitle=Edit list
ContextAction=[!WriteKeyValue Variables List #List# "#ROOTCONFIGPATH#Configuration\List\config.inc"][!ActivateConfig "#ROOTCONFIG#\configuration\List" "List.ini][!CommandMeasure Animation exit()]
ContextTitle2=Change list
ContextAction2=[!WriteKeyValue "Variables" "Action" "set_list" "#ROOTCONFIGPATH#Configuration\ListManager\config.inc"][!WriteKeyValue "Variables" "edit_page" "#filelayout#" "#ROOTCONFIGPATH#Configuration\ListManager\config.inc"][!WriteKeyValue "Variables" "edit_config" "#CURRENTCONFIG#" "#ROOTCONFIGPATH#Configuration\ListManager\config.inc"][!ActivateConfig "#ROOTCONFIG#\Configuration\ListManager" "list.ini"][!CommandMeasure "Animation" "exit()"]
ContextTitle3=List manager
ContextAction3=[!ActivateConfig "#ROOTCONFIG#\Configuration\ListManager" "list.ini"][!CommandMeasure "Animation" "exit()"]
ContextTitle4=---
ContextTitle5=List file.inc
ContextAction5=["#@#User\#List#"][!CommandMeasure Animation exit()]
ContextTitle6=Layout file.inc
ContextAction6=["#@#User\#filelayout#"][!CommandMeasure Animation exit()]
ContextTitle7=---
ContextTitle8=Rainmeter Menu
ContextAction8=[!SkinMenu]

[Variables]
Display=1
@Include=#@#Settings.inc
@Include2=config.inc
@Include3=#@#User\#List#
@Include4=#@#Layout\#layout#


[ScriptRefresher]
Measure=Script
ScriptFile=#@#Script\Refresher.lua
UpdateDivider=-1
Refreshed=0
The first two skins (the buttons thing and the sliding thing) are from https://www.deviantart.com/axerron/art/Skyrim-Rainmeter-Suite-v2-283817269, the second one (the sliding thing) modified with some code that I got from https://forum.rainmeter.net/viewtopic.php?t=23269&start=10. The third one (the games thing) is from https://www.deviantart.com/not-finch/art/GameHUB-launcher-2-for-Rainmeter-785369648.
I don't really know what else I should include here, hope its enough for someone willing to help.
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16325
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Don't know what I'm doing, would like help

Post by balala »

There are some files which we don't have (for instance the file storing most probably lot of variables, namely Variables.txt - why .txt and not a .inc, even if this doesn't really matter). Additionally having three codes of three files, I can't really realize what is the relation between them. So I assume you could help us to can easier help you, by packing the whole config you have and upload the package here, to clarify a few details.
Additional tip: there are no "things" in Rainmeter, but either codes or skins, but no things and no words.
User avatar
Yincognito
Rainmeter Sage
Posts: 7491
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Don't know what I'm doing, would like help

Post by Yincognito »

balala wrote: May 23rd, 2024, 4:33 pm Additionally having three codes of three files, I can't really realize what is the relation between them.
There isn't a relation, at least not a complete one - so he probably can't post his packed skin since there isn't any. He basically wants to "merge" / "combine" 2 parts from a skin suite (Skyrim) with 1 part from another suite (GameHUB) into a coherent skin or skin suite of his own. This might be possible via activating skins and controlling one from another to a certain degree, but it's not as simple as he thinks, all things (including his beginner stage) considered.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
balala
Rainmeter Sage
Posts: 16325
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Don't know what I'm doing, would like help

Post by balala »

Yincognito wrote: May 23rd, 2024, 5:48 pm There isn't a relation, at least not a complete one - so he probably can't post his packed skin since there isn't any. He basically wants to "merge" / "combine" 2 parts from a skin suite (Skyrim) with 1 part from another suite (GameHUB) into a coherent skin or skin suite of his own. This might be possible via activating skins and controlling one from another to a certain degree, but it's not as simple as he thinks, all things (including his beginner stage) considered.
You might be right, but since I don't entirely follow the idea, it's hard (for me at least) to propose a viable solution.
User avatar
CaptCannonChris
Posts: 3
Joined: May 22nd, 2024, 8:14 pm

Re: Don't know what I'm doing, would like help

Post by CaptCannonChris »

Do you guys not understand what I'm trying to do? I want to click on something that says "games," and then my games show up, sliding in from the left. I don't know how to use my words better
Here's the file to my current skins: https://www.mediafire.com/file/rtk97ds04jtyra0/My_sh%2At.zip/file
I think that's what you guys asked for. I dunno. Hope it's good.
In the skyrim skins, I'm using the things in the "Launcher" folder and the "Vertical Sidebar" folder. In the Gamehub skins, I'm using the "DIsplay.ini" file in the "Display1" folder. In skyrim's "Vertical Sidebar" folder, the "skyrim_bar_ver.ini" file in the "Poop" folder is the one that's static and doesn't move, the other "skyrim_bar_ver.ini" file in the "PoopTwo" folder is the one that has the slide animation coding stuff.
User avatar
CaptCannonChris
Posts: 3
Joined: May 22nd, 2024, 8:14 pm

Re: Don't know what I'm doing, would like help

Post by CaptCannonChris »

Also, one more thing, if you couldn't tell, I have next to no clue what most of the code in these things even do, and I didn't write any of it. I've just been taking a bunch of code from a bunch of peoples' skins and Frankensteining it all together
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5438
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Don't know what I'm doing, would like help

Post by eclectic-tech »

CaptCannonChris wrote: May 23rd, 2024, 9:40 pm Do you guys not understand what I'm trying to do? I want to click on something that says "games," and then my games show up, sliding in from the left. I don't know how to use my words better
Here's the file to my current skins: https://www.mediafire.com/file/rtk97ds04jtyra0/My_sh%2At.zip/file
I think that's what you guys asked for. I dunno. Hope it's good.
In the skyrim skins, I'm using the things in the "Launcher" folder and the "Vertical Sidebar" folder. In the Gamehub skins, I'm using the "DIsplay.ini" file in the "Display1" folder. In skyrim's "Vertical Sidebar" folder, the "skyrim_bar_ver.ini" file in the "Poop" folder is the one that's static and doesn't move, the other "skyrim_bar_ver.ini" file in the "PoopTwo" folder is the one that has the slide animation coding stuff.
We understand what you want, but are not willing to download a "Frankenstein monster" (65 megabits) of complicated packages and rewrite the code to create an even more complicated skin for you.

We do not accept skin requests which is precisely what you are asking.

We are more than willing to help you with specific questions on how to do things, but as you have explained, you have no idea how anything works in Rainmeter or how to do anything and expect us to make extensive changes, to functional skins, to act the way you would like. That is not going to happen.

Start by looking at the "Getting Started" info and tutorials offered in the documentation. Then ask any questions on how to do specific actions.
User avatar
Yincognito
Rainmeter Sage
Posts: 7491
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Don't know what I'm doing, would like help

Post by Yincognito »

CaptCannonChris wrote: May 23rd, 2024, 9:40 pm Do you guys not understand what I'm trying to do? I want to click on something that says "games," and then my games show up, sliding in from the left. I don't know how to use my words better
Here's the file to my current skins: https://www.mediafire.com/file/rtk97ds04jtyra0/My_sh%2At.zip/file
I think that's what you guys asked for. I dunno. Hope it's good.
In the skyrim skins, I'm using the things in the "Launcher" folder and the "Vertical Sidebar" folder. In the Gamehub skins, I'm using the "DIsplay.ini" file in the "Display1" folder. In skyrim's "Vertical Sidebar" folder, the "skyrim_bar_ver.ini" file in the "Poop" folder is the one that's static and doesn't move, the other "skyrim_bar_ver.ini" file in the "PoopTwo" folder is the one that has the slide animation coding stuff.
CaptCannonChris wrote: May 23rd, 2024, 9:50 pm Also, one more thing, if you couldn't tell, I have next to no clue what most of the code in these things even do, and I didn't write any of it. I've just been taking a bunch of code from a bunch of peoples' skins and Frankensteining it all together
Eclectic-tech already explained why it isn't realistic to expect others to do your job especially when this is not exactly a walk in the park (remember, this takes time and effort, and we try to help for free and in our own free time because we want to), so I won't insist on that.

I know you don't know how to do it yourself and that's understandable, but you also have to consider that although they might seem visually simple and the same for an untrained eye, every skin is different in many ways and, as you already noticed, Frankensteining them together is not enough to make them work together as a unit, simply because they were not written to do that by their authors.

That being said, there might be some "easier" ways out of this without bothering to rewrite stuff and instead add a few things here and there to the already installed suites. This might not produce exactly the same outcome as you envisioned, but could be close enough to make it acceptable. We can advise on that, but it will be up to you to add those bits and do the testing. They should basically do precisely what your GIF is showcasing (so they won't be integrated in a perfectly fluid and singular system), but will do things in an automated fashion, once you click that text button in the leftmost skin there.

So, the question is: are you willing to try and spend some time and effort to implement such small additions yourself based on that advice? :???:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth