The wallpaper will be changed according to your system time, the pictures you choose are recommended to be time related. So you can create your own Dynamic wallpaper like the one in macOS.
This project is designed to use the (.EXE) file together with (.BAT) file to change the wallpaper. At present this project is rough. More functions will be added to it in the future releases.
-
Download the change.cpp and changeWpaper.bat.
-
Open the change.cpp.
-
Find the
WCHAR wc1[100] = L"C:\\Users\\Celeglow Zhou\\Desktop\\wallpaper\\MCwallpaper";
-
Change the path according to your computer, the second to last parameter should be the directory you saved the images. The last parameter is the formatted name of your image. so remember to change inages name all to the same format, eg: (myname0.png, myname1.png, ...). 12 images are required. Noted that you are counted from 0, the last images name should be myname11.png)
-
Save and Compile the change.cpp to generate the .exe file.
-
Open the changeWpaper.bat
-
Find the
start "" "C:\Users\Celeglow Zhou\Desktop\hide\changeWpaper.exe"
-
Change the filepath of the exe file to the one you have just generated.
-
Add the .bat file to your Windows task schedule programe according to the following steps.
-
Right click this and choose Manage(if no picture below, please consult this Can't See Pictures?
- Choose this
- New a task and do the following steps
- When setting the [program or script] in step 2 , use the filepath where your .bat file exists.
- Finally you can see a task like this(the taskname is according to you)
- Restart your computer, you can stay for a while to see whether your computer have changed the wallpaper automatically every two hours after the time you login in the computer.