I want to create a skin that creates a PNG image on my desktop and when I click on it, it changes to a different image
It is currently May 9th, 2024, 4:09 am
I need help with changing my skin
-
- Posts: 6
- Joined: November 5th, 2023, 4:25 pm
-
- Rainmeter Sage
- Posts: 16206
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: I need help with changing my skin
Skin request is not allowed. But first of all we should understand what you want to achieve, because it's not entirely clear (at least for me). Do you want to create an image with Rainmeter (this is not possible), or you want to use it to show an existing image, which will be periodically changed?
-
- Rainmeter Sage
- Posts: 5408
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: I need help with changing my skin
I wouldn't consider this a skin request...
Here is code that will switch images; you need to edit it by adding the image names to ImageName= in both [MeterImage1] and [MeterImage2].
Code: Select all
; This code switches images when you add them to 'ImageName=...' values in MeterImage1 and MeterImage2
; As is, it will change a 100x100 square's color Where the images can be when left-clicked
; See the notes to add iamges in MeterImage1 and MeterImage2
; ========= Skin Settings ==========
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
; ========= Meters ==========
[MeterImage1]
Group=Images
Meter=Image
; Add your image after the equal sign below and remove the W, H, and SolidColor lines
ImageName=
W=100
H=100
SolidColor=0,255,0
Hidden=0
LeftMouseUpAction=[!ShowMeter MeterImage2][!HideMeter MeterImage1][!Redraw]
[MeterImage2]
Group=Images
Meter=Image
; Add your image after the equal sign below and remove the W, H, and SolidColor lines
ImageName=
W=100
H=100
SolidColor=0,0,255
Hidden=1
X=r
Y=r
LeftMouseUpAction=[!ShowMeter MeterImage1][!HideMeter MeterImage2][!Redraw]
You do not have the required permissions to view the files attached to this post.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 16206
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: I need help with changing my skin
Alright, however what intricates me is the original question:eclectic-tech wrote: ↑November 12th, 2023, 9:55 pm I wouldn't consider this a skin request...
Here is code that will switch images;
As wrote in my previous reply as well, I'm not sure if the OP wants to create an image file or wants to use existing images in his skin and just had an unfortunate formulation of the question. I assume the second case, but am I right?
-
- Rainmeter Sage
- Posts: 5408
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: I need help with changing my skin
It is true we don't want to create skins for people, but this was a pretty basic idea which was easily demonstrated...balala wrote: ↑November 13th, 2023, 1:14 pm Alright, however what intricates me is the original question:
As wrote in my previous reply as well, I'm not sure if the OP wants to create an image file or wants to use existing images in his skin and just had an unfortunate formulation of the question. I assume the second case, but am I right?
We will see if the OP comes back with more requests...
Beyond the simple example, they can take a look at Getting Started for more about creating skins with Rainmeter
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 7211
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: I need help with changing my skin
He wants to use such an image. Folks are often not familiar with the proper "terminology" when starting out with a program (like Rainmeter, in this case). They also use fewer details than needed until they get up to speed with how things are done (probably not the case here, but just saying).
-
- Rainmeter Sage
- Posts: 16206
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: I need help with changing my skin
eclectic-tech wrote: ↑November 13th, 2023, 2:32 pm We will see if the OP comes back with more requests...
Yincognito wrote: ↑November 13th, 2023, 4:25 pm He wants to use such an image. Folks are often not familiar with the proper "terminology" when starting out with a program (like Rainmeter, in this case). They also use fewer details than needed until they get up to speed with how things are done (probably not the case here, but just saying).
-
- Posts: 6
- Joined: November 5th, 2023, 4:25 pm
Re: I need help with changing my skin
Sorry, I don't speak English and I use Google translator (and the translator sometimes changes the meaning of sentences). I'm new and I don't really know anything about it (I don't want to force you to create this skin, I just don't know how to do it). To answer the question, I wanted to use a ready-made image in PNG format.
-
- Posts: 6
- Joined: November 5th, 2023, 4:25 pm
Re: I need help with changing my skin
Do you know where I can learn the basics?
-
- Rainmeter Sage
- Posts: 16206
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: I need help with changing my skin
Alright, in this case I'm sorry I didn't get by first what did you mean. You can start working with eclectic-tech's code, posted by him above.
This is where you should start: https://docs.rainmeter.net/manual/getting-started/
It's the best place to start coding, but unfortunately you have to know a little bit of English to can use it.