I think I misunderstood your question, possibly due to some confusion radiating from it.
You want to use the built-in switch widget to trigger a flow (which then, enables/disables screen rotation)?
Use any new global variable you like, by inventing an appropriate name for it, which gets true or false assigned by tapping the widget. Then create a trigger "global variable", with that your variable named.
The trigger will fire when value of that variable changes.
I need a simple Switch-Widget for Flightmode
Moderator: Martin
Re: I need a simple Switch-Widget for Flightmode
@MURTUMA
The "enable/disable screen rotation with status bar"-widget is working now! Thanks for the help!
It's not very elegant, but it's working:
That makes things clearer for me! A global variable is some kind of shortcut to a flow, in this case!Use any new global variable you like, by inventing an appropriate name for it, which gets true or false assigned by tapping the widget. Then create a trigger "global variable", with that your variable named.
The "enable/disable screen rotation with status bar"-widget is working now! Thanks for the help!
It's not very elegant, but it's working:
- Attachments
-
- Screenshot_2016-07-21-17-17-48.png (107.6 KiB) Viewed 7622 times