Random wallpaper

General discussions about Automagic and automation in general

Moderator: Martin

Vicdilou
Posts: 10
Joined: 26 Sep 2018 22:29

Re: Random wallpaper

Post by Vicdilou » 03 Nov 2018 18:59

I execute the script more than 30 times but I don't see somes wallpapers and other twice.
But if you don't know why it doesn't matter, the script run everyday so I'll forget if I see a wallpaper 15 or 5 days ago

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Random wallpaper

Post by Desmanto » 04 Nov 2018 15:14

The only way to find out is to log the wallpaper set. Create another global_wallpaper_log as list type. Then add one line at the end of the script.

Code: Select all

addElement(global_wallpaper_log, newList(triggertime, random_wallpaper));
Later, you can check when it change and what wallpaper it has set. You can then see if the wallpaper appear twice/none in the last 15 executions.

But if you are good with current one, then just leave it as now.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply