It is currently December 12th, 2019, 9:42 am

Hide/Unhide with a click?

Help with creating, editing & fixing problems with skins
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3641
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Hide/Unhide with a click?

eclectic-tech » August 13th, 2019, 8:31 pm

gran172 wrote:
August 13th, 2019, 7:33 pm
That worked, thanks a lot man! The icon is a very nice extra too :P

Thanks to the both of you actually, this community is great, hope you both have a nice day! :)
Happy to help :welcome:

TIP: Many times when trying to link to applications in Rainmeter skins, if the full path to the application executable doesn't work, creating a shortcut link to the application, and using it instead, usually will get things working for you.

Love the community too! Have a great day! :great:
gran172
Posts: 16
Joined: May 16th, 2019, 3:51 am

Re: Hide/Unhide with a click?

gran172 » October 31st, 2019, 10:51 pm

Sorry for reviving this thread :P Is there anyway I could make the notes skin start hidden?
User avatar
balala
Rainmeter Sage
Posts: 9253
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Hide/Unhide with a click?

balala » November 1st, 2019, 8:59 am

gran172 wrote:
October 31st, 2019, 10:51 pm
Is there anyway I could make the notes skin start hidden?
You can add the following option to the [Rainmeter] section of the skin: OnRefreshAction=[!Hide] (or if there already is an OnRefreshAction option, add the [!Hide] bang to existing ones).
But unless for any reason the skin hasn't stay hidden, you have to add another option somewhere to your skin, to get it unhidden on some event. You can't manually unhide it, by a click for instance, because you can't click a hidden skin. How would you unhide it depends on your plan, on what you want to achieve.
gran172
Posts: 16
Joined: May 16th, 2019, 3:51 am

Re: Hide/Unhide with a click?

gran172 » November 1st, 2019, 10:09 am

Oh sorry, reading it back I worded that horribly.

The skin loads up like this whenever Rainmeter is refreshed: https://imgur.com/a/tHpcJSm

I meant to make it load like this, on its toggled state, whenever Rainmeter is refreshed: https://imgur.com/a/eGg5pV9
User avatar
balala
Rainmeter Sage
Posts: 9253
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Hide/Unhide with a click?

balala » November 1st, 2019, 7:06 pm

gran172 wrote:
November 1st, 2019, 10:09 am
The skin loads up like this whenever Rainmeter is refreshed: https://imgur.com/a/tHpcJSm

I meant to make it load like this, on its toggled state, whenever Rainmeter is refreshed: https://imgur.com/a/eGg5pV9
Add the following option to the [Rainmeter] section: OnRefreshAction=[!HideMeterGroup "gNotes1"][!HideMeterGroup "gNotes2"][!HideMeterGroup "gNotes3"][!HideMeterGroup "gNotes4"][!HideMeterGroup "gNotes5"][!HideMeterGroup "gNotes6"][!HideMeterGroup "gNotes7"][!HideMeterGroup "gNotes8"][!HideMeterGroup "gNotes9"][!HideMeterGroup "gNotes10"][!Redraw].
gran172
Posts: 16
Joined: May 16th, 2019, 3:51 am

Re: Hide/Unhide with a click?

gran172 » November 1st, 2019, 7:09 pm

That worked perfectly, thank you! You're a lifesaver balala :)
User avatar
balala
Rainmeter Sage
Posts: 9253
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Hide/Unhide with a click?

balala » November 1st, 2019, 7:17 pm

gran172 wrote:
November 1st, 2019, 7:09 pm
That worked perfectly, thank you! You're a lifesaver balala :)
I'm glad and you're welcome.