It is currently March 28th, 2024, 6:04 pm
Toggle a image with HotKey Plugin
- bluecrosser
- Posts: 7
- Joined: August 19th, 2020, 9:43 am
Toggle a image with HotKey Plugin
Hello, I've downloaded the HotKey Plugin and was having trouble getting an image to simply turn on and off with the + key. The manual has lots of info on changing colors and such but is there a way to just have my image toggle on and off when I press the + key? Any help is appreciated, thanks.
- balala
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Toggle a image with HotKey Plugin
Here is an example:bluecrosser wrote: ↑April 27th, 2022, 7:18 am Hello, I've downloaded the HotKey Plugin and was having trouble getting an image to simply turn on and off with the + key. The manual has lots of info on changing colors and such but is there a way to just have my image toggle on and off when I press the + key? Any help is appreciated, thanks.
Code: Select all
[MeasureToggle]
Measure=Plugin
Plugin=HotKey
HotKey=ADD
KeyDownAction=[!ToggleMeter "MeterImage"][!Redraw]
[MeterImage]
Meter=Image
SolidColor=255,240,0
X=0
Y=0
W=80
H=40
Note the followings:
- You have to have installed the HotKey plugin (which you said is).
- If the skin is loaded, the image will be shown / hidden whenever are you hitting the + key. No matter if you switched to a program, opened a window or whatever, when you hit the key, the image is toggled.
- bluecrosser
- Posts: 7
- Joined: August 19th, 2020, 9:43 am
Re: Toggle a image with HotKey Plugin
Yea that works perfect. Thanks.
My son loves it, Ill post what he was working on later, thanks again.
My son loves it, Ill post what he was working on later, thanks again.
- balala
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Toggle a image with HotKey Plugin
I'm glad. Post it if it's ready. What's the age of your son?bluecrosser wrote: ↑April 27th, 2022, 7:01 pm My son loves it, Ill post what he was working on later, thanks again.