Set the name of the variable in single quotes and it should work: setValue('global_in_car', true);gollyzila wrote:I created a global variable global_test as a boolean set to false and setValue(global_in_car, true); doesn't change its value.
Build 20150410_144429_51e135e
Search found 257 matches
- 19 Apr 2015 06:18
- Forum: EAP - Early Access Program
- Topic: [BUG] setValue doesn't work for new global variables
- Replies: 2
- Views: 37923
Re: [BUG] setValue doesn't work for new global variables
- 18 Mar 2015 12:05
- Forum: Feature Requests
- Topic: Debug option
- Replies: 9
- Views: 22942
- 02 Mar 2015 07:50
- Forum: User Help / Bug Reports
- Topic: time since boot widget - how to do that?
- Replies: 5
- Views: 11593
Re: time since boot widget - how to do that?
Looks great! Would you like to share the flows and the widget?orenmi wrote:beautiful
- 20 Feb 2015 13:19
- Forum: Feature Requests
- Topic: Multilingual flows
- Replies: 0
- Views: 6104
Multilingual flows
While I like to have the notifications and toasts of my flows in English, my girlfriend likes to have them in German. So if I want to share a flow with her I have to translate each text. Next time, when I change something in that flow (even no-text items), I have to translate everything again after ...
- 11 Jan 2015 12:01
- Forum: Feature Requests
- Topic: Groups for global variables
- Replies: 4
- Views: 13132
- 07 Jan 2015 20:11
- Forum: Feature Requests
- Topic: Categories for Triggers, Conditions and Actions
- Replies: 6
- Views: 17335
- 05 Jan 2015 07:29
- Forum: User Help / Bug Reports
- Topic: ControlUI to control GPS?
- Replies: 12
- Views: 32661
Re: ControlUI to control GPS?
You might want to take a look into the trigger User Activity (Experimental) with the activity In Vehicle . I use this trigger to turn on Bluetooth when I'm driving in my car with very good results. You can combine this with a condition Power Source Connected to execute the rest of your flow only whe...
- 02 Jan 2015 09:51
- Forum: General
- Topic: How to get rid of "Automagic service is running"
- Replies: 5
- Views: 18947
Re: How to get rid of "Automagic service is running"
On some versions of Android you can hide the notification icon by opening system settings->Apps->Automagic, uncheck 'Show notifications' then check the option again so that regular notifications can be shown by your flows. This will hide the notification and will probably keep the priority of Autom...
- 15 Dec 2014 15:01
- Forum: User Help / Bug Reports
- Topic: eval and inline expressions
- Replies: 2
- Views: 7629
Re: eval and inline expressions
I try to replace a part of a string by using an inline expression and the eval function. If you want to replace a part of a string, why don't you use the Replace function? String replace(String s, String search, String replace) Returns a modified string by replacing all occurrences of search with r...
- 15 Dec 2014 14:55
- Forum: User Help / Bug Reports
- Topic: Battery Notification
- Replies: 9
- Views: 19721
Re: Battery Notification
I would love to see this flow!BAZ wrote:If you wish I can upload the flow that I have tested and polished for over 6 months continuesly