FIXED! Thanks balala
It is currently April 19th, 2024, 12:34 pm
Recycle Bin Completed but not executable!
-
- Rainmeter Sage
- Posts: 5391
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Recycle Bin Completed but not executable!
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Recycle Bin Completed but not executable!
As Balala says, rounding the corners on an Image meter is actually pretty easy with Container:balala wrote: ↑January 13th, 2019, 12:53 pm Actually there is. Not sure which Image meter would you like to round (probably [MeterImage]?), but anyway a Container option could do this.
For example if you want to round the [MeterImage] meter, add the following meter to your code:and add a Container=MeterContainer option to the [MeterImage] meter.Code: Select all
[MeterContainer] Meter=Shape Shape=Rectangle 0,0,200,70,15 X=0 Y=0
Because the [MeterContainer] meter is rounded, [MeterImage] will be same way rounded.
Some details: https://docs.rainmeter.net/manual-beta/meters/general-options/container/
Just additionally it seems in eclectic-tech's last code there is a small mistake: [MeterImage] is set as both an Image and a String meter. He probably removed somethings and finally mixed up what remained.
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
CornerRadius=12
[MeterImage]
Meter=Image
ImageName=#@#Images\laughing.jpg
W=300
PreserveAspectRatio=1
Container=MeterContainer
[MeterContainer]
Meter=Shape
; Note that I put this after [MeterImage], so the measurements are not one update behind.
; Not important for this example, but could be if the image dynamically changes.
; The order in the skin for "content" and "container" meters has no impact on the z-position.
; This is because the "container" meter isn't actually "drawn", but used a a "shape" or "mask" for the "content".
Shape=Rectangle 0,0,[MeterImage:W],[MeterImage:H],#CornerRadius# | StrokeWidth 0
DynamicVariables=1
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
-
- Posts: 128
- Joined: May 2nd, 2015, 9:13 am
Re: Recycle Bin Completed but not executable!
Man you're awesome!!!!!! THANK YOU! I AM GONNA TRY THAT!balala wrote: ↑January 13th, 2019, 12:53 pm Actually there is. Not sure which Image meter would you like to round (probably [MeterImage]?), but anyway a Container option could do this.
For example if you want to round the [MeterImage] meter, add the following meter to your code:and add a Container=MeterContainer option to the [MeterImage] meter.Code: Select all
[MeterContainer] Meter=Shape Shape=Rectangle 0,0,200,70,15 X=0 Y=0
Because the [MeterContainer] meter is rounded, [MeterImage] will be same way rounded.
Some details: https://docs.rainmeter.net/manual-beta/meters/general-options/container/
Just additionally it seems in eclectic-tech's last code there is a small mistake: [MeterImage] is set as both an Image and a String meter. He probably removed somethings and finally mixed up what remained.
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Recycle Bin Completed but not executable!
Ok, do so and let me know if you succeeded.Ao Nuu Shin wrote: ↑January 22nd, 2019, 9:30 pm Man you're awesome!!!!!! THANK YOU! I AM GONNA TRY THAT!
-
- Posts: 128
- Joined: May 2nd, 2015, 9:13 am
Re: Recycle Bin Completed but not executable!
Ok, I did tried that, and it worked, but now it replaced my current image with a round white image...hiding completely my custom image. But it is still activating. Maybe I copied/paste it wrong...Ao Nuu Shin wrote: ↑January 22nd, 2019, 9:30 pm Man you're awesome!!!!!! THANK YOU! I AM GONNA TRY THAT!
-
- Rainmeter Sage
- Posts: 5391
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Recycle Bin Completed but not executable!
Please post your modified, current code so we can help find what happened to cause the white image...Ao Nuu Shin wrote: ↑January 22nd, 2019, 9:37 pm Ok, I did tried that, and it worked, but now it replaced my current image with a round white image...hiding completely my custom image. But it is still activating. Maybe I copied/paste it wrong...
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Recycle Bin Completed but not executable!
Have you added the Container=MeterContainer option to the [MeterImage] meter?Ao Nuu Shin wrote: ↑January 22nd, 2019, 9:37 pm Ok, I did tried that, and it worked, but now it replaced my current image with a round white image...hiding completely my custom image. But it is still activating. Maybe I copied/paste it wrong...
If you did (although I think you didn't), I agree with eclectic-tech and you should have to post the code, exactly as you have it now.
-
- Posts: 128
- Joined: May 2nd, 2015, 9:13 am
Re: Recycle Bin Completed but not executable!
Sorry, I would have done that earlier, but I felt like bad for keep making you reading a long sheet of code everytime...here is it!eclectic-tech wrote: ↑January 23rd, 2019, 12:54 am Please post your modified, current code so we can help find what happened to cause the white image...
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
============================
[Metadata]
Author=Me
Information=Opens Notepad
Version=1.0
============================
[Meter]
Meter=Image
ImageName=#@#Images\Test1.png
Container=MeterContainer
LeftMouseUpAction=["notepad"]
X=1
Y=1
W=130
H=30
AntiAlias=1
ToolTipText=Left click opens Notepad.
============================
[MeterString]
Meter=String
FontFace=Alex Brush
FontColor=255,255,255,255
FontSize=15
AntiAlias=1
Y=5
X=32
Text=Notepad
============================
[MeterContainer]
Meter=Shape
Shape=Rectangle 0,0,200,70,15
X=0
Y=0
-
- Posts: 128
- Joined: May 2nd, 2015, 9:13 am
Re: Recycle Bin Completed but not executable!
Snippet? I think I didn't copied like that, I posted my code on the comment above, answering to eclectic, uh, if you would like, please, take a look. I am sure I did something wrong here, obviously. I could do something else though, I made it like a small dot on left side so it now looks like very sophisticated. hahah