This script downloads a random, high resolution, landscape Image from unsplash.com with query string wallpaper
and sets it as current wallpaper.
- Windows 10
- Python 3
- Python requests module
- Install Python 3 (if not already installed)
- Install requests module (For making HTTP requests)
- Execute
python -m pip install requests
in Powershell.
- Execute
- Run the script\
- Open powershell in containing directory,
- Execute
python .\windowsWallpaperChanger.py
.
- Open task scheduler,
- Open
Run
dialogue (Windoes + R), - Run
taskschd.msc
.
- Open
- Create a new task with following specifications:
- Name:
wallpaper changer
- Goto
Triggers > New... > Repeat task every
,- check the checkbox,
- set desired interval.
- Goto
Actions > New... > Start a program
,- Program/script:
powershell.exe
, - Add Arguments:
-nologo -windowstyle Hidden python .\windowsWallpaperChanger.py
, - Start in: Full path of script's parent directory.
- Program/script:
- Goto
Conditions
tab,- Uncheck
Start the task only if the computer is on AC power
. - Check
Start only if the following network connection is available
and selectAny connection
from dropdown.
- Uncheck
- Name:
- Leave all other fields as default and save.