Search found 5 matches

by lazyI
21 Jul 2016 15:25
Forum: Flow Sharing Area
Topic: I need a simple Switch-Widget for Flightmode
Replies: 11
Views: 34603

Re: I need a simple Switch-Widget for Flightmode

@MURTUMA 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. That makes things clearer for me! A global variable is some kind of shortcut to a f...
by lazyI
21 Jul 2016 13:49
Forum: Flow Sharing Area
Topic: I need a simple Switch-Widget for Flightmode
Replies: 11
Views: 34603

Re: I need a simple Switch-Widget for Flightmode

Now a tried to build the same Widget with the function to activate and deactivate the "Automatic Screen Rotation", but there is no trigger to initialize the script (SetWidgetElementProperty)!? Is there a possibility? What ist the global variable for the "Automatic Screen Rotation" so I could try the...
by lazyI
21 Jul 2016 11:55
Forum: Flow Sharing Area
Topic: I need a simple Switch-Widget for Flightmode
Replies: 11
Views: 34603

Re: I need a simple Switch-Widget for Flightmode

THX! !
I tried it with a flow and "Airplane Mode" as the trigger for the Script with the function "SetWidgetElementProperty()", but it didn't work, so I used the "Modem Status" trigger and it's working!
by lazyI
20 Jul 2016 10:22
Forum: Flow Sharing Area
Topic: I need a simple Switch-Widget for Flightmode
Replies: 11
Views: 34603

Re: I need a simple Switch-Widget for Flightmode

@Bushmills Thank you for your answer! I already made some simple flows, but I never used scripts. My problem is basically in wich way I have to insert a bar in the widget and then how to switch the green/blue bar on and off when a function like the Flightmode is activated or for axample the Systemso...
by lazyI
20 Jul 2016 07:39
Forum: Flow Sharing Area
Topic: I need a simple Switch-Widget for Flightmode
Replies: 11
Views: 34603

I need a simple Switch-Widget for Flightmode

Hi,
I'm new with Automagic, therefore I need a little help to start. I want to build a simple Switch to activate and deactivate the Flightmode with one click (I have root). To indicate the activation I want a blue bar at the bottom of the widget.

Can someone help me with this?