Search found 47 matches

by Horschte
01 Nov 2019 21:50
Forum: User Help / Bug Reports
Topic: Countdown widget
Replies: 9
Views: 1909

Re: Countdown widget

Maybe that brings you a little bit further: speech_minutes = 2; speech_seconds = 30; now = getDate(); dateNew = addMinutes(now, speech_minutes); dateNew = addSeconds(dateNew, speech_seconds); date_diff = dateNew - now; //02:30 dateFormatted = "{date_diff,dateformat,mm:ss}"; Now you can make a loop, ...
by Horschte
31 Oct 2019 11:36
Forum: User Help / Bug Reports
Topic: I think i may be ignored?!
Replies: 4
Views: 1615

Re: I think i may be ignored?!

The problem is that the user Desmanto seems to be away, unfortunately. In my opinion he is the one who knows Automagic the best. He had an answer for almost every question. Let's hope that he will come back some time.
by Horschte
31 Oct 2019 11:29
Forum: User Help / Bug Reports
Topic: variable Next Alarm wrong value
Replies: 3
Views: 1605

Re: variable Next Alarm wrong value

I can't confirm that. If I manually set an alarm to 7:00 then the variable next_alarm shows as 7:00 in a Debug Dialog.
by Horschte
31 Oct 2019 11:13
Forum: Feature Requests
Topic: Add condition for which trigger started flow
Replies: 2
Views: 2191

Re: Add condition for which trigger started flow

You can already do that. For testing purposes use a Debug Dialog to find out the exact name of the trigger which started the flow. Then you can use a Condition - Expression to check.

Code: Select all

trigger == "my_trigger_1"
by Horschte
22 Oct 2019 19:52
Forum: User Help / Bug Reports
Topic: Display timer
Replies: 2
Views: 1624

Re: Display timer

Try this:

Add an action Sleep with the duration of 1s after the action Notification on Statusbar. Then loop back to the action Notification. In the settings of Notification on Statusbar add a button to the Notification using the setting Actions and select Stop Flows to stop the loop.
by Horschte
23 Sep 2019 22:00
Forum: User Help / Bug Reports
Topic: indexOf returns incorrect result
Replies: 2
Views: 733

Re: indexOf returns incorrect result

Use a debug dialog to check the variable "location", click on it and select "Show value in text editor". You will see that the value of the variable is in a special format. You have to format it first. loc = "{location,locationformat,decimal}"; Now you can use indexOf on "loc" to get the position of...
by Horschte
11 Sep 2019 11:50
Forum: User Help / Bug Reports
Topic: No results for file info in local network
Replies: 1
Views: 430

No results for file info in local network

Hi guys, I'm trying to access a text file which is located in my local network. I use the action Init Variable Text File and the path to the file like this: h**p://192.x.x.x/files/my_file.txt. That works. Automagic can read the file. The content of the file is stored in the variable file_text. Now I...
by Horschte
28 Jul 2019 20:16
Forum: User Help / Bug Reports
Topic: map value low at first
Replies: 11
Views: 1534

Re: map value low at first

Perfect. Thank you.

It works with positive numbers. But again weird results when there are negative numbers. They appear at the end of the temp-list.
by Horschte
28 Jul 2019 17:05
Forum: User Help / Bug Reports
Topic: map value low at first
Replies: 11
Views: 1534

Re: map value low at first

I just noticed that sorting negative numbers doesn't work correctly: list = newList(4500, 3200, 7456, 1200, 500, -1000, -2000); sort(list); //result [-1000, -2000, 500, 1200, 3200, 4500, 7456] //expected result [-2000, -1000, 500, 1200, 3200, 4500, 7456] Am I wrong? And to get back to the example in...
by Horschte
08 Jul 2019 20:02
Forum: Feature Requests
Topic: Advanced HTTP Handling - e.g. AutoLogin
Replies: 7
Views: 3787

Re: Advanced HTTP Handling - e.g. AutoLogin

Thank you. That helps a lot. :)