blog:change_windows_desktop_background_for_day_and_night_using_batchfile
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:change_windows_desktop_background_for_day_and_night_using_batchfile [2010-12-23 08:14] – brb | blog:change_windows_desktop_background_for_day_and_night_using_batchfile [2010-12-26 07:26] (current) – brb | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Change windows desktop background for day and night, using batchfile ====== | ====== Change windows desktop background for day and night, using batchfile ====== | ||
+ | |||
+ | Having a bright, blue wallpaper for day use and a darker, reddish wallpaper for evening/ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | Advantages: | ||
+ | * No additional software (apart from the script) has to be installed | ||
+ | * No additional load on the computer by a desktop switcher, except from the tasks that you define yourself | ||
+ | |||
+ | Notes: | ||
+ | * You must convert your jpg wallpaper to bmp (changing the dimensions to exactly match your screen). You can't directly use a jpg file as a windows wallpaper (the settings dialog creates a bmp file behind your back!). | ||
+ | * Configuration is by changing the set ... variable at the top of the file | ||
+ | * Test by calling the batchfile | ||
+ | * To automate the wallpaper switch: | ||
+ | * make a link in the windows autostart folder | ||
+ | * add an hourly task to the task manager (or even cleaner, two tasks at the switch times (7:00 and 20:00) | ||
<code winbatch> | <code winbatch> | ||
Line 14: | Line 31: | ||
set wpnight=e: | set wpnight=e: | ||
set wpday=e: | set wpday=e: | ||
- | set daystarthour=8 | + | set daystarthour=7 |
set dayendhour=20 | set dayendhour=20 | ||
blog/change_windows_desktop_background_for_day_and_night_using_batchfile.1293088486.txt.gz · Last modified: 2010-12-23 08:14 by brb