r/tasker•
arjun2502

(help) How to change wallpaper automatically from a folder in a sequential manner ?

Help

I want to change wallpaper automatically from screenshot folder at some time interval. Thanks to old posts, I know how to randomly pick wallpaper. But I want to pick each wallpaper based on the time I have took the screenshot. I like screenshot I took earliest to appear first in wallpaper. Then remaining based on the time I took. Thank you in advance.

Posted Jan 13, 2021, 1:48 AM UTC

92
DutchOfBurdock•

For this, I use a modulus. E.g Say I have 10 photos and I want to cycle through them every minute;

Mods (368)
	A1: Array Set [ Variable Array:%time Values:%TIME Splitter:. ] 
	A2: Variable Set [ Name:%mod To:(%time2%10) + 1 Recurse Variables:Off Do Maths:On Append:Off Max Rounding Digits:1 ] 
	A3: List Files [ Directory:DCIM/100ANDRO Match:*.JPG Include Hidden Files:Off Use Root:Off Sort Select:Modification Date Variable:%files ] 
	A4: Flash [ Text:%files(%mod) Long:Off ] 

This will then use the minutes to modulus on 10 (will count 1-10 despite). Ran each minute, for example, will sequentially run through the images in date order.

1
iHate_SlowMotion•

You can use the List Files action pointing to the folder containing your screenshots and sorting by "Modification Date".

0