It is currently April 27th, 2024, 12:00 pm
Unfold with Tranparent BG
-
- Posts: 1
- Joined: August 22nd, 2018, 1:30 pm
Re: Unfold with Tranparent BG
guys how do you add a icon i wanted to get a custom icon can anyone help me out tnx
-
- Rainmeter Sage
- Posts: 16176
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Unfold with Tranparent BG
Creating an Image meter. For example:mjobair wrote:how do you add a icon i wanted to get a custom icon
Code: Select all
[MeterIcon]
Meter=Image
ImageName=#@#MyIcon.png
SolidColor=0,0,0,1
X=0
Y=0
W=50
H=50
LeftMouseUpAction=["d:\MyFile.txt"]
- Use the appropriate file name of the image you'd like to have as icon, in the ImageName option. Probably the best idea is to have that image file into the @Resources folder of the current config, but this isn't absolutely necessary.
- You can freely change the size of the image meter, through the W and H options. Adding a PreservAspectRatio=1 option, you can make sure that the image isn't distorted.
- In the LeftMouseUpAction option you can set what the icon should do. In the above example, the icon will open the d:\MyFile.txt file.
-
- Posts: 5
- Joined: August 24th, 2018, 2:26 pm
Re: Unfold with Tranparent BG
Im sorry before, i dont know where to go, its my first time using rainmeter, can you help me sir, the spotify, discord, steam, and word doesnt work when i click on it, but for some reasons, power point, excel, chrome is doing its job nicely, any suggestion?
-
- Rainmeter Sage
- Posts: 16176
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Unfold with Tranparent BG
Post the code of the used skin, please.AsterionContinental wrote:Im sorry before, i dont know where to go, its my first time using rainmeter, can you help me sir, the spotify, discord, steam, and word doesnt work when i click on it, but for some reasons, power point, excel, chrome is doing its job nicely, any suggestion?
-
- Posts: 5
- Joined: August 24th, 2018, 2:26 pm
Re: Unfold with Tranparent BG
by the code do you mean, the code in the note for each icon?balala wrote:Post the code of the used skin, please.
-
- Rainmeter Sage
- Posts: 16176
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Unfold with Tranparent BG
Do you have a separate skin for each of those icons (Spotify, Word, Excel and so on)? Or all icons are into one single skin?AsterionContinental wrote:by the code do you mean, the code in the note for each icon?
-
- Posts: 5
- Joined: August 24th, 2018, 2:26 pm
Re: Unfold with Tranparent BG
im using the icon just like your post, unFold transparancy, nothing else.balala wrote:Do you have a separate skin for each of those icons (Spotify, Word, Excel and so on)? Or all icons are into one single skin?
i notice something here, in my excel, the code is : LeftMouseUpAction=[!SetOption "#CURRENTSECTION#" "ImageAlpha" "255"][!Update]["excel.exe"]
but my word is : LeftMouseUpAction=[!SetOption "#CURRENTSECTION#" "ImageAlpha" "255"][!Update]["C:\Program Files\Microsoft Office\Office15\WINWORD.EXE"]
my spotify : LeftMouseUpAction=[!SetOption "#CURRENTSECTION#" "ImageAlpha" "255"][!Update]["C:\Users\Florian\AppData\Roaming\Spotify\Spotify.exe"]
havent check them all, but maybe this is the reason?
-
- Rainmeter Sage
- Posts: 16176
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Unfold with Tranparent BG
Let's see if I understood what's going on. Does the following LeftMouseUpAction work?
But the that which should have to open Word, doesn't:AsterionContinental wrote:LeftMouseUpAction=[!SetOption "#CURRENTSECTION#" "ImageAlpha" "255"][!Update]["excel.exe"]
Am I right?AsterionContinental wrote:LeftMouseUpAction=[!SetOption "#CURRENTSECTION#" "ImageAlpha" "255"][!Update]["C:\Program Files\Microsoft Office\Office15\WINWORD.EXE"]
-
- Posts: 5
- Joined: August 24th, 2018, 2:26 pm
Re: Unfold with Tranparent BG
yesss, for my word, ppt, and excel are in the same folder, but my word isnt working, *my word is working perfectly fine, and so does the spotify, steam, and discord, i have no idea what happenbalala wrote:Let's see if I understood what's going on. Does the following LeftMouseUpAction work?
But the that which should have to open Word, doesn't:
Am I right?
-
- Rainmeter Sage
- Posts: 16176
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Unfold with Tranparent BG
Try to replace the path of the Winword.exe file with the simple filename.AsterionContinental wrote:yesss, for my word, ppt, and excel are in the same folder, but my word isnt working, *my word is working perfectly fine, and so does the spotify, steam, and discord, i have no idea what happen
Just as a side note, I probably wouldn't update the whole skin, just the meter itself. So, I also replaced the [!Update] bang with an !UpdateMeter and a !Redraw: LeftMouseUpAction=["WINWORD.EXE"][!SetOption #CURRENTSECTION# "ImageAlpha" "255"][!UpdateMeter "#CURRENTSECTION#"][!Redraw].
Does this work?