It is currently October 21st, 2018, 11:24 am

Mouse Actions with a Condition - easy

Help with creating, editing & fixing problems with skins
WinterIsComing
Posts: 2
Joined: August 11th, 2018, 10:56 pm

Mouse Actions with a Condition - easy

WinterIsComing » August 11th, 2018, 11:07 pm

Hi, I am relatively new to Rainmeter and I need help. Problem should be easily solved, but I don't know how to deal with it. So...
I have an image which basically acts like a button. When I click on it, it activates other skin which I had set. Now, I want it to be able to click it again and then to DEACTIVATE that same skin which was activated before. So I want it to switch on and off and on and off.... like a light switch. From what I've seen I think it includes mouse actions along with condition actions and variables, but I dont know how to code that.
I hope someone can help.
Thanks
User avatar
dvo
Posts: 534
Joined: February 7th, 2016, 6:08 am

Re: Mouse Actions with a Condition - easy

dvo » August 12th, 2018, 7:12 pm

Example:

Code: Select all

!ToggleConfig "illustro\Clock" "Clock.ini"
:17good

https://docs.rainmeter.net/manual/bangs/
WinterIsComing
Posts: 2
Joined: August 11th, 2018, 10:56 pm

Re: Mouse Actions with a Condition - easy

WinterIsComing » August 13th, 2018, 10:11 am

Wow, thanks man, your the best! It couldn't have been easier :rofl: