Search found 371 matches

by anuraag
03 Dec 2018 12:58
Forum: User Help / Bug Reports
Topic: Regex expression
Replies: 8
Views: 15179

Re: Regex expression

So you need to first grab press ??, ?? from your string. If i am not wrong it looks like press + space + number + comma + space + number Your string looks like press 24, 32 1 2 3 4 So this will give you press ??, ?? output=findAll("string", 'press\\s\\d+,\\s\\d+') Then var=findAll(output, '\\d+') va...
by anuraag
03 Dec 2018 12:11
Forum: User Help / Bug Reports
Topic: Regex expression
Replies: 8
Views: 15179

Re: Regex expression

I dont understand what you want?
You need regex for "press 24,32"?
Or you want Variable1=24 and Variable2=32
by anuraag
02 Dec 2018 03:32
Forum: User Help / Bug Reports
Topic: How do I check for Do Not Disturb mode and disable it?
Replies: 7
Views: 23344

Re: How do I check for Do Not Disturb mode and disable it?

Yes Interruptions Mode is for setting DND. Use "Notification on Statusbar Displayed" as trigger and then "Interruptions Mode" as condition. Flow will be like this Trigger =>Notification on Statusbar Displayed Condition =>Interruptions Mode If true Action => Set Interruptions Mode But you want notifi...
by anuraag
22 Nov 2018 03:25
Forum: User Help / Bug Reports
Topic: best way to implement user functions?
Replies: 4
Views: 10951

Re: best way to implement user functions?

Check "eval(script)".

Put your code inside quotation and remove line breaks
For example
script = "while(!existElementById(id)) { sleep() …";

then use eval(script) when you need to run that code.
by anuraag
21 Nov 2018 00:42
Forum: User Help / Bug Reports
Topic: Battery counter
Replies: 4
Views: 9492

Re: Battery counter

change getDurationString to getDurationMillis

Code: Select all

duration = getDurationString(triggertime - glovar)
And add following line

Code: Select all

duration = "{duration,dateformat,timezone,UTC,m}"
by anuraag
18 Nov 2018 12:52
Forum: User Help / Bug Reports
Topic: Can't get subject in Share Intent Receive
Replies: 3
Views: 8100

Re: Can't get subject in Share Intent Receive

Documentation says "when available".

What subject you are expecting?
by anuraag
17 Nov 2018 13:17
Forum: General
Topic: Zooper widget - bluetooth?
Replies: 2
Views: 8602

Re: Zooper widget - bluetooth?

Before creating action plugin you first need to store on/off in a variable. So create a new script and Lets say variable name is stat. stat = "on" Now create a zooper plugin action Configure it like this ZW Variable = BTSTAT ZW Text = stat Now after saving tick on "replace variables/modify configura...