Waboodoo / HTTP-Shortcuts

Android app to create home screen shortcuts that trigger arbitrary HTTP requests
https://http-shortcuts.rmy.ch
MIT License
1.17k stars 113 forks source link

Enable `setVariable` script function on some non-constants that remember value #252

Closed nipsufn closed 2 years ago

nipsufn commented 2 years ago

This should enable users to set non-static variables with setVariable scripting functions. It would be useful to provide feedback to user on state of variables before the request is sent (e.g. number slider set to value reported by some response rather than to 0 or last remembered value) It appears to work as intended (sample size of one).

Waboodoo commented 2 years ago

@nipsufn Thanks for your contribution. I had actually already implemented this change (or rather, an even more general one), but not pushed it to the develop branch yet. I have pushed it there now, so this PR is no longer needed. The change will be included in the next release.