How to get a random image every … time?
Preview

Preset Download
How to Open in KLWP
1. Rename the downloaded preset file (the .zip file): remove the `.zip` suffix from the filename
2. Copy/move the renamed preset file to the `wallpapers` folder, under the installation folder of the KLWP
3. Run the KLWP editor and load the copied/moved preset
Explanation
How To
1. Put 1 or more image file(s) into a folder
- Best practice: a folder in device’s internal storage
2. Create a new preset
3. Create a Text global variable
- This variable will be used to contain the filepath to the image file
4. Create a Flow, set Flow’s settings as follows:
- Trigger(s): Cron, Manual (optional), On load complete (optional)
- Actions: File Picker ➞ Set Global Variable
5. Create an Image element, set the Bitmap option to Formula: $gv(_your_global_variable_)$
NOTES
Cron setting explanation
* * * * *
│ │ │ │ └▶ weekday: 0…6 or SUN…SAT
│ │ │ └──▶ month: 1…12
│ │ └────▶ day: 1…31
│ └──────▶ hour: 0…23
└────────▶ minute: 0…59
Examples
Run every minute:
* * * * *
Run every 10 minutes:
*/10 * * * *
Run every hour at the third minute:
3 * * * *
Run every Monday, at midnight:
0 0 * * 1 or 0 0 * * MON
I hope this would help.
![]()
![]()