Alright, understood.LuciferVisuals wrote: ↑April 18th, 2023, 4:07 pm Re The Toggle bang, Originally I could not get it io work with !Activate, Yincognito said it was because it was already Active and made a few suggestions one being I change it to !Deactivate followed by ! Activate in the same mouse click which worked perfectly, So I removed the Toggle.
No, I don't want. If you got it working as expected and you moved on, there is no reason to work with those old files.LuciferVisuals wrote: ↑April 18th, 2023, 4:07 pm I do have some old backups so I could find the original code if you wanted to see it. But from my point of view, once it was working I moved on. This project changes quite a lot every day.
Take a rest and charge your batteries. No rush at all (at least from my point of view)...LuciferVisuals wrote: ↑April 18th, 2023, 4:07 pm I think am at the limit of my understanding at the moment, I think I reached saturation point, at least for a while. Please remember I wrote the first line of any code in my entire life less than three weeks ago, I have read your advice above about four times, and my mind keeps switching off (I understand most of what you say in isolation, but my head loses track of it by the time I get half way through). But I promise I will go through it again (repeatedly) if I have to until I do understand it, but I can't comment on it at the moment because it's not sinking in.
I assume the culprit is how do you show and hide the buttons. On the [ShowHelp] meter you have a bang to show the [HideHelp] meter and another to hide [ShowHelp] (the current) meter. However when you click the [HideHelp] meter (which you get shown when you clicked the [ShowHelp] meter), the bangs are hiding the [ShowHelp] and showing the [HideHelp] meter. If take carefully a look, you'll realize that when you click [ShowHelp] everything goes on as it has to, but when [HideHelp] is revealed and [ShowHelp] is hidden, the further click does nothing, because it should show the already visible meter and should hide the anyway hidden meter. The parameters of the !ShowMeter and !HideMeter bangs in both ButtonCommand options are identical. Replace those parameters on the bangs of the ButtonCommand option of the [HideHelp] meter.LuciferVisuals wrote: ↑April 18th, 2023, 4:07 pm I am adding a new help section the buttons to load and unload it are below, It works perfectly to both load and unload the first time you use them, but then they stop working. Can you see at a glance what's wrong, (In nice simple beginners terms) I have pasted it below.
Besides this, as Yincognito already wrote, the !Rainmeter... bang prefix has been deprecated ago and shouldn1t be used anymore, even if it still works (it's required by the backward compatibility). But you should renounce them.
And one more, which I already wrote: the !DeactivateConfig bang doesn't require the name of the skin, just the name of the config you want to deactivate. This is why the [!ActivateConfig "Stargates\Remote-Help" "Remote-Help.ini"] bang (used in the ButtonCommand option of the [ShowHelp] meter) is proper, however the [!DeactivateConfig "Stargates\Remote-Help" "Remote-Help.ini"] bang (ButtonCommand option of the [HideHelp] meter) deosn1t require the red marked skin name.
Here is the altered version of the above two meter, which I assume will work:
Code: Select all
[HideHelp]
Meter=Button
ButtonImage=#@#Buttons\HideHelp.png
X=470
Y=745
MouseOverAction=[!SetOption MeterString-Footer-2 FontColor "209,206,113,255"][!SetOption MeterString-Footer-2 Text "Hide Help"][!UpdateMeter "MeterString-Footer-2"][!Redraw]
MouseLeaveAction=[!SetOption MeterString-Footer-2 FontColor "0,0,0,255"][!SetOption MeterString-Footer-2 Text "#Footer-Message-2#"][!UpdateMeter "MeterString-Footer-2"][!Redraw]
ButtonCommand=[!ShowMeter ShowHelp][!HideMeter HideHelp][!Redraw][!DeactivateConfig "Stargates\Remote-Help"]
Hidden=1
[ShowHelp]
Meter=Button
ButtonImage=#@#Buttons\ShowHelp.png
X=470
Y=745
MouseOverAction=[!SetOption MeterString-Footer-2 FontColor "209,206,113,255"][!SetOption MeterString-Footer-2 Text "Show Help"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption MeterString-Footer-2 FontColor "0,0,0,255"][!SetOption MeterString-Footer-2 Text "#Footer-Message-2#"][!UpdateMeter *][!Redraw]
ButtonCommand=[!ShowMeter HideHelp][!HideMeter ShowHelp][!Redraw][!ActivateConfig "Stargates\Remote-Help" "Remote-Help.ini"]
I personally don't think anything like this. I'm glad if can help anyone out there, but it's up of anyone to use or use not my solutions. I'm never angry if anyone don't want to use what I recommended, especially if finds a better solution than mine (and I'm sure usually such a better solution does exist, I'm not a wizard). So, don't worry, it's a pleasure for me to help, when I can. In my beginner skinner period I also got a lot of help on this forum, so now I help with pleasure.LuciferVisuals wrote: ↑April 18th, 2023, 4:07 pm ALSO, I have ask Yincognito the same question, not because I doubt either of you but simply because I have been talking to both of you and didn't don't want either of you thinking I favoured the other, but let me know for next time whether asking two Sages the same question is a no no.
I never thought it's a waste of time.LuciferVisuals wrote: ↑April 18th, 2023, 4:07 pm Thank you again for your time and patience with me, I can promise you it's not a waste of time, It all sinks in "Eventually" LOL