Search found 56 matches

by Horschte
22 Oct 2021 12:47
Forum: General
Topic: Android 12
Replies: 17
Views: 46415

Re: Android 12

I'm also surprised that It's still working under Android 12. Even the widgets still work. I'm on Automagic 1.37 and I wonder if the widgets keep working with Android 1.38. Which version of Automagic are you using - 1.37 or 1.38? One problem I noticed under Android 12 is the overlay for the UI contro...
by Horschte
19 Aug 2021 19:42
Forum: General
Topic: Android 12
Replies: 17
Views: 46415

Re: Android 12

@Serum_114
Which Automagic version did you use - 1.37 or 1.38?

I'm asking because I had to go back to 1.37 on Android 11 to make the widgets work.
by Horschte
22 Jun 2020 21:09
Forum: General
Topic: Response information jsonp_1 ({"***"}) format, how to extract information
Replies: 3
Views: 14414

Re: Response information jsonp_1 ({"***"}) format, how to extract information

Try this:

Code: Select all

mytext='jsonp_1592191820948_64292({"code":"0","data":{"growth":"18","nutrients":"0","beanState":"2","beanImg":"https://m.360buyimg.com/mobilecms/jfs/t ... e51465.gif"}});';
match = findAll(mytext, ".*growth\":\"(.*)\",\"nut", true)[0][1];
by Horschte
24 Mar 2020 22:22
Forum: User Help / Bug Reports
Topic: Getting first paragraph of a string
Replies: 4
Views: 11731

Re: Getting first paragraph of a string

You can use split to get the list of paragraphs.

Code: Select all

input = "Paragraph 1\n\nParagraph 2";
paragraphs = split(input, "\n\n");
first = paragraphs[0];
or shorter:

Code: Select all

input = "Paragraph 1\n\nParagraph 2";
first = split(input, "\n\n")[0];
by Horschte
14 Mar 2020 23:28
Forum: User Help / Bug Reports
Topic: count characters including spaces
Replies: 3
Views: 11291

Re: count characters including spaces

When you use length() your result is without spaces?
For me it's working fine:

Code: Select all

s = "my string";
r = length(s); //r: 9
by Horschte
12 Mar 2020 16:57
Forum: Flow Sharing Area
Topic: COVID-19 Tracker (based on John Hopkins CSSE)
Replies: 12
Views: 44751

Re: COVID-19 Tracker (based on John Hopkins CSSE)

Thanks for your effort.

But they seem to have adjusted their service. So no results anymore. :cry:
by Horschte
09 Feb 2020 18:37
Forum: General
Topic: Condition klappt nicht
Replies: 1
Views: 11855

Re: Condition klappt nicht

You have to add a second trigger: Power Source - Disconnected (Stromversorgung - entfernt).

With both triggers your flow is executed when the phone is connected and when it's disconnected. So you have to add a condition - Power Source Connected (Stromversorgung angeschlossen) - to decide what to do.
by Horschte
24 Jan 2020 22:17
Forum: User Help / Bug Reports
Topic: Division
Replies: 2
Views: 7581

Re: Division

Code: Select all

r = 5/2 //r = 2
r = 5/2.0 // r = 2.5
r = 5.0/2 // r = 2.5
r = 5.0/2.0 // r = 2.5
by Horschte
13 Jan 2020 22:29
Forum: User Help / Bug Reports
Topic: shortening links
Replies: 3
Views: 9306

Re: shortening links

I didn't know the service either. :lol: I just searched for a service which doesn't require an api key or a login.