It is currently April 24th, 2024, 10:45 pm

calculator skin in rainmeter possible?

General topics related to Rainmeter.
Aarowaim
Posts: 97
Joined: July 25th, 2010, 7:23 am

Re: calculator skin in rainmeter possible?

Post by Aarowaim »

Chewtoy wrote:If you enclose the variables being set in quotation marks it will write the variable rather than the value of the variable.
!RainmeterSetVariable AVariable "#NewThingy#"
!RainmeterSetVariable AVariable "[AMeasure]"
This hasn't worked, it still reacts as if it is reading the value. By directly changing the settings as shown in my previous post, I have gotten results. This shows that my system for reading the position is working, but the system for changing it isn't. From all the failures, the problem is still getting the formula in all the Button Measures ([1Measure], [2Measure]...) to change from (#Fac1# > 0 ? (#Fac1#*10)+4 : 4) to (#Fac2# > 0 ? (#Fac2#*10)+4 : 4)

EDIT:
JpsCrazy wrote:If you just replace all the #FacActHalf1# with !Execute [!RainmeterSetVariable #FacPos# ( it'll work like a charm. That's because DynamicVariables don't work within the [Variables] section. I guess I just never thought of a repeptitive !Bang being a variable and it threw me off.
Sorry, I didn't realize what you meant until I read your topic @ http://rainmeter.net/forum/viewtopic.php?f=14&t=3862&p=26796&hilit=dynamic+variables+in+%5Bvariables%5D#p26796 Because I based my whole thing upon being able to change the !Bang functions as it goes on, I either am forced to use your show/hide group technique or I need to use the new WriteKeyValue bang. In order to do the latter, I need to know how to activate a batch bang when the skin is closed or refreshed. I will work on a group meter version, but it will be over 6 times longer than a WriteKeyValue version that simply rewrites the variables upon closing if I were to add a few extra functions. I'm very sorry for wasting your time and all these posts on a skin that wouldn't have worked without a major rehaul and I will work to do both types and see which one is better.
P.S
As long as you can tell me how to do a bang before the skin is closed, a writekeyvalue version will be quite practical.
Away for a while :(
Programming isn't a hobby, it's a lifestyle choice.
[url=http://www.rainmeter.net/forum/viewtopic.php?f=83&t=1207][b]T34M V.1.5.0.|2[/b][/url] <----I'ts l33t, look it up

Coding Skills: [color=#00FFFF]4.5[/color]
Answering Skills: [color=#00FFFF]4[/color]
Image Editing: [color=#00FFFF]3[/color]
Knowledge: [color=#00FFFF]4.5[/color]
Technical Skills: [color=#00FFFF]3[/color]