It is currently April 28th, 2024, 4:47 am

Loading one Skin from another

Get help with creating, editing & fixing problems with skins
Crossfire
Posts: 5
Joined: August 13th, 2012, 1:46 am

Loading one Skin from another

Post by Crossfire »

Hello, I am new to rainmeter coding and I am trying to execute or start a second skin when I click on my first skin, but I don't know how. Anyone know how to do this?

here is my skin, the part where it opens program files is where its supposed to open up another skin.


[Rainmeter]
Author=Crossfire
Update=100

[MeterBlack]
Meter=IMAGE
X=0
Y=0
W=100
H=100
SolidColor=15, 0, 0, 1

-----------------------------------------------------------------------------
; Grid2
[Grid2]
Meter=Image
ImageName=Grid2.png
LeftMouseUpAction=!Execute ["C:\Program Files"]


-----------------------------------------------------------------------------
Thanks Guys!
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Loading one Skin from another

Post by Kaelri »

Code: Select all

LeftMouseUpAction=!ActivateConfig "ConfigName" "Filename.ini"
More here.
Crossfire
Posts: 5
Joined: August 13th, 2012, 1:46 am

Re: Loading one Skin from another

Post by Crossfire »

[Rainmeter]
Author=Crossfire
Update=100

[MeterBlack]
Meter=IMAGE
X=0
Y=0
W=100
H=100
SolidColor=15, 0, 0, 1

-----------------------------------------------------------------------------
; Grid3
[Grid3]
Meter=Image
ImageName=Grid3.png
LeftMouseUpAction=!ActivateConfig "Emergency" "Emergency.ini"
-----------------------------------------------------------------------------

I did that but it still isn't working, did I type it wrong or something? And I read the link too..
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Loading one Skin from another

Post by Kaelri »

It looks right, assuming you've got the right config name. Can you tell us the complete path to "Emergency.ini"? As in "C:\Users\..."
Crossfire
Posts: 5
Joined: August 13th, 2012, 1:46 am

Re: Loading one Skin from another

Post by Crossfire »

C:\Users\Crossfire\Documents\Rainmeter\Skins\Evangelion\Skins\Emergency\Emergency.ini

And I tried putting Evangelion in like this too.

LeftMouseUpAction=!ActivateConfig "Evangelion" "Emergency.ini"
But that didn't work either.
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Loading one Skin from another

Post by Kaelri »

What you'll need is:

Code: Select all

LeftMouseUpAction=!ActivateConfig "Evangelion\Skins\Emergency" "Emergency.ini"
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Loading one Skin from another

Post by jsmorley »

Just as a hint for the future, the "ConfigName" of a skin is exactly what you see on the Rainmeter system tray context menu for each running skin.
8-13-2012 7-51-33 AM.jpg
You do not have the required permissions to view the files attached to this post.
Crossfire
Posts: 5
Joined: August 13th, 2012, 1:46 am

Re: Loading one Skin from another

Post by Crossfire »

Thank you guys so much! It works great! I'm finally making progress on my Evangelion Desktop theme. Hey I was wondering, how would I make a skin that fed out raw coding, kinda like command prompt or similar, maybe showed coding that ran in the background of windows. Here's what I am envisioning; I have a desktop background with a box like this:

Image




I wanna align the coding up with the right side since its straight. but i want it to flow down and fade off at the bottom, is this possible? Thank you guys so much. -Crossfire
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Loading one Skin from another

Post by thatsIch »

Crossfire wrote:Thank you guys so much! It works great! I'm finally making progress on my Evangelion Desktop theme. Hey I was wondering, how would I make a skin that fed out raw coding, kinda like command prompt or similar, maybe showed coding that ran in the background of windows. Here's what I am envisioning; I have a desktop background with a box like this:

Image




I wanna align the coding up with the right side since its straight. but i want it to flow down and fade off at the bottom, is this possible? Thank you guys so much. -Crossfire
you could simulate it with lua
but it would take quite some cpu cycles

idea: have your file with your text
parse it
have several string-meters
now you shift through every contentline through the meter-array with transparent upper and lower meters

other way would be using an image I guess
Crossfire
Posts: 5
Joined: August 13th, 2012, 1:46 am

Re: Loading one Skin from another

Post by Crossfire »

Hey thanks for that idea. But how would you write the code for that, sorry lol but I'm really new to rainmeter coding. I did, however, proceed to make a fake coding text file like you suggested. Thanks!
-Crossfire