OnChangeAction is great, but what if someone only wants an action if the value increases or if the value decreases?
Use case: Using FileInfo plugin, I have a notification sound effect that plays when the number of files in the downloads folder changes, which lets me know when a file I'm downloading is complete. Because I can only use OnChangeAction, the notification plays when the number of files in the folder decreases as well, like when I delete files from the folder.
If I had an OnIncreaseAction option, I could fix this issue.
Cariboudjan wrote: ↑September 28th, 2019, 7:14 pm
OnChangeAction is great, but what if someone only wants an action if the value increases or if the value decreases?
I think a such pair of option might be helpful, however it could be done even with the existing features.
For instance, the following code generates a random number between 0 and 100. Next to this number a symbol is show, indicating if the number has increased, decreased or didn't change: