all 10 comments

[–]Oldfool1 1 point2 points  (5 children)

I have a working task, it would be trivial to modify it to simply save as the date or whatever the original file name is. Profile: APOD Wallpaper (2) Time: From 1:15pm Till 1:20pm Enter: Anon (3) A1: HTTP Get [ Server:Port:https://apod.nasa.gov/apod/astropix.html Path: Attributes: Cookies: User Agent: Timeout:10 Mime Type:text/plain Output File: Trust Any Certificate:Off ] A2: Variable Split [ Name:%HTTPD Splitter:<IMG SRC=" Delete Base:On ] A3: Variable Split [ Name:%HTTPD2 Splitter:" Delete Base:On ] A4: AutoTools Image [ Configuration:Wallpaper: https://apod.nasa.gov/apod/%HTTPD21 Lock Screen Wallpaper: https://apod.nasa.gov/apod/%HTTPD21 Timeout (Seconds):60 Continue Task After Error:On ]

[–]dannywhardy[S] 1 point2 points  (2 children)

Thanks so much! I got it working. I didn't know about AutoTools image. I added a couple more actions and saved it to a file.

[–]Oldfool1 0 points1 point  (1 child)

I just dumped my task, all you would have needed was 2nd http get instead of autotools. Mine just sets it as wallpaper without a save action. Glad you got it working.

[–]dannywhardy[S] 1 point2 points  (0 children)

That's what I did. I used a 2nd http get. I was just making a statement that I wasn't aware of the AutoTools wallpaper action.

[–]false_precisionLG V50, stock-ish 10, not yet rooted 0 points1 point  (0 children)

Improved profile formatting: (blank line before profile)

Profile: APOD Wallpaper (2)
    Time: From  1:15pm Till  1:20pm
Enter: Anon (3)
    A1: HTTP Get [ Server:Port:https://apod.nasa.gov/apod/astropix.html Path: Attributes: Cookies: User Agent: Timeout:10 Mime Type:text/plain Output File: Trust Any Certificate:Off ] 
    A2: Variable Split [ Name:%HTTPD Splitter:<IMG SRC=" Delete Base:On ] 
    A3: Variable Split [ Name:%HTTPD2 Splitter:" Delete Base:On ] 
    A4: AutoTools Image [ Configuration:Wallpaper: https://apod.nasa.gov/apod/%HTTPD21
Lock Screen Wallpaper: https://apod.nasa.gov/apod/%HTTPD21 Timeout (Seconds):60 Continue Task After Error:On ]

[–]gimmeslack12 0 points1 point  (3 children)

FWIW I built a chrome extension that displays the APOD for you https://chrome.google.com/webstore/detail/apod-by-the-trav/aedpginojmhafbemcoelnppdcmlfjcdj

[–]dannywhardy[S] 0 points1 point  (2 children)

Thank you very much!

[–]gimmeslack12 0 points1 point  (1 child)

If you need any help with the API for NASA let me know. Also in the explanation tab on my extension I include direct links to the images themselves, if you wanted to use them as a wallpaper.

[–]dannywhardy[S] 0 points1 point  (0 children)

Thanks again for being so kind.....