Formulas do not work in ImageCrop. I am not sure what value it uses instead of the formula, but from my experience it seems to use 0 as the value.
Example of code that works:
Example of code that does not work (uses 0 instead):
The documentation for formulas says that formulas can be used "as a numeric part of an option value", and this is the example:
However, this doesn't seem to work with ImageCrop, and the only way around it is to calculate the result first using a Calc measure or by doing it manually. Any help would be appreciated.
It is currently November 27th, 2022, 1:08 am
Report bugs with the Rainmeter application and suggest features.
6 posts • Page 1 of 1
- Rainmeter Sage
- Posts: 14743
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
They are, just remove the spaces outside of the formulas, from the options. All of the following ones are working:
Additionally even the following ones are working:
If there are no formulas, the spaces can be used. That's why the option is working.
- Posts: 2
- Joined: May 25th, 2022, 5:05 pm
Ah I see. Thanks for the solution - I'll test it out right now.
- Rainmeter Sage
- Posts: 1398
- Joined: April 24th, 2021, 8:13 pm
This is a bug though.
from the Realm of Death
- Posts: 204
- Joined: May 16th, 2012, 5:38 am
It's at the very least inconsistent behavior.
moshi wrote:there are many Rainmeter skins that aren't really useful, so let's add another one.
jsmorley wrote:I have good news and bad news.
First the bad news. [...] We would be happy to have this happen and would love to work with anyone who is feeling ambitious.
Now the good news.
I lied, there isn't any good news...
- Posts: 2532
- Joined: November 24th, 2011, 1:42 am
- Location: Utah
This has been fixed for the next release. Thanks for reporting!