Search found 47 matches

by Horschte
01 Dec 2019 13:26
Forum: User Help / Bug Reports
Topic: Rain api help
Replies: 6
Views: 358

Re: Rain api help

Try this:

http://automagic4android.com/flow.php?i ... f9b3e0998c

It saves a radar image in your Automagic folder using your current location.
by Horschte
01 Dec 2019 12:44
Forum: General
Topic: Passwortabfrage
Replies: 5
Views: 360

Re: Passwortabfrage

The password is always saved in the variable "value". So you have to use something like this in your script:

Code: Select all

if(value == "ABC123"){
  Wert = "OK";
}
else{
  Wert = "Falsch";
}
by Horschte
27 Nov 2019 22:37
Forum: User Help / Bug Reports
Topic: Character encoding in HTTP-Request
Replies: 5
Views: 521

Character encoding in HTTP-Request

Hi guys, I'm screenscraping an internet page using the action HTTP-Request. The problem is that the internet page is encoded in iso-8859-1. The response I get from the action shows some special characters as question marks. I suspect that Automagic uses UTF-8 by default so the special characters get...
by Horschte
20 Nov 2019 18:10
Forum: User Help / Bug Reports
Topic: Evaluate second line in text
Replies: 9
Views: 364

Re: Evaluate second line in text

How can i write it so that it is "more than but less than"?
I tried a simple >30<40 but that did not work. Whats the correct way to write it please?

Code: Select all

if(v > 30 and v < 40){
  //do something
}
by Horschte
19 Nov 2019 15:17
Forum: User Help / Bug Reports
Topic: Evaluate second line in text
Replies: 9
Views: 364

Re: Evaluate second line in text

Add a Debug Dialog and have a look at "target_line". What's its value?
by Horschte
18 Nov 2019 21:01
Forum: User Help / Bug Reports
Topic: Evaluate second line in text
Replies: 9
Views: 364

Re: Evaluate second line in text

Try to split the notification to get the second line:

Code: Select all

lines = split(notification_text, "\\n");
target_line = lines[1];
by Horschte
14 Nov 2019 23:01
Forum: User Help / Bug Reports
Topic: Widgets
Replies: 4
Views: 487

Re: Widgets

What exactly do you want to achieve?
by Horschte
05 Nov 2019 20:59
Forum: General
Topic: GREATNESS
Replies: 2
Views: 1673

Re: GREATNESS

I agree. It's the best app I've ever used. Unbelievable what you can do with it. I even don't dare upgrading to Android 10 just because I'm not sure if Automagic keeps working as it is now with Android 9.

Is it possible to donate some money? If so how?
by Horschte
03 Nov 2019 16:00
Forum: User Help / Bug Reports
Topic: Countdown widget
Replies: 9
Views: 1966

Re: Countdown widget

speech_hours = 0; speech_minutes = 2; speech_seconds = 30; now = getDate(); dateNew = addMinutes(now, speech_minutes); dateNew = addSeconds(dateNew, speech_seconds); dateNew = addHours(dateNew, speech_hours-1); date_diff = dateNew - now; if(speech_hours < 1){ dateFormatted = "{date_diff,dateformat,...
by Horschte
02 Nov 2019 21:11
Forum: User Help / Bug Reports
Topic: Create password
Replies: 4
Views: 1174

Re: Create password

I don't fully understand what you are trying to achieve. You can create a password in Action Script: create a list with your desired characters. Then make a for-loop and randomly select a character from your list. chars = newList("1", "2", "3", "a", "b", "c"); pw = ""; for(i in [1 to 8]){ pw = pw + ...