killall-q wrote:Holy cow — formulas do work. I didn't find that out before because they don't work if there are any spaces, even inside parentheses. Even stuff like
!RainmeterSetVariable YPos (#YPos#+10)
is OK. So increment/decrement was already there as another easter egg.
I understand about WM_MouseWheel, when the idea came to me I was thinking about how in Opera you have the option to change tabs by scrolling on the tab bar, but Opera is a single window program and already has focus.
I had actually just changed stuff around to implement the Set Variable formula stuff but it was already there! Good thing you mentioned this.
To be able to use a formula in a !RainmeterSetVariable bang you have to use it like:
That would be a niche application, but... this monitor can be done by having a calc measure trigger something when an incrementing variable X or Y position reaches a value. !RainmeterSetVariable in my testing works instantly (and on a side note, doesn't need DynamicVariables=1 to function) so no matter how fast you clicked that variable should increment reliably and then every update the measure would check if you passed its threshold.