It is currently April 28th, 2024, 4:50 am

Persist variables through !Refresh?

Get help with creating, editing & fixing problems with skins
User avatar
ScottBeeson
Posts: 19
Joined: June 21st, 2012, 5:23 am

Persist variables through !Refresh?

Post by ScottBeeson »

I'm doing a spotify skin and I have it almost 100% the way I want it. It includes a "minimized" and "maximized" version, which work great using !HideMeterGroup and !ShowMeterGroup. However, that didn't work for various reasons including the fact that a track change means a !Refresh which resets the display state (min/max). So I tried using !SetOptionGroup to set Hidden=1 or 0. This fixes a couple issues, but not the refresh issue, and has it's own issues.

Any ideas?
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Persist variables through !Refresh?

Post by Kaelri »

!WriteKeyValue is used to permanently change variables and meter/measure options.

Code: Select all

!WriteKeyValue [Section] [Key] [Value] (File)
(More.)