windows10墙纸_如何根据一天中的时间更改Windows 10的墙纸

windows10墙纸

windows10墙纸

Apple’s macOS 10.14 Mojave offers “Dynamic Desktop” wallpapers that change based on the time of day. You can get something similar on Windows, either by using the standard background settings or by digging into the Task Scheduler.

苹果的macOS 10.14 Mojave提供了“动态桌面”墙纸,该墙纸会根据一天中的时间而变化。 通过使用标准背景设置或通过深入研究任务计划程序,您可以在Windows上获得类似的东西。

设置按时间表更改的幻灯片 (Set Up a Slideshow That Changes on a Schedule)

Windows 10 and Windows 7 both let you set up a slideshow and have it automatically change the picture after a period of time. So, if you provide four background wallpaper images, you can have Windows flip through them every six hours, changing your background depending on the time of day.

Windows 10和Windows 7均允许您设置幻灯片,并使其在一段时间后自动更改图片。 因此,如果您提供四个背景墙纸图像,则Windows可以每六个小时翻阅一次,从而根据一天中的时间更改背景。

We tested this using the official macOS Mojave desktop backgrounds, which someone helpfully uploaded to Reddit. However, you can use any desktop background images you like.

我们使用正式的macOS Mojave桌面背景进行了测试,有人将其有用地上传到Reddit 。 但是,您可以使用任何喜欢的桌面背景图像。

First, make a new folder and place the desktop backgrounds you want to use in it. If you plan to have your desktop background change every six hours, place four background images in it.

首先,创建一个新文件夹,然后在其中放置要使用的桌面背景。 如果您计划每六个小时更改一次桌面背景,则在其中放置四张背景图像。

Windows will go through the folder in alphanumerical order, so you’ll need to name the images appropriately. The correct order depends on the current time of day.

Windows将按字母数字顺序浏览该文件夹,因此您需要适当命名图像。 正确的顺序取决于一天中的当前时间。

For example, if it’s nearing the time when you want your sunset background applied, you should place a 1 in front of the filename of your sunset background, a 2 in front of your night background, a 3 in front of your sunrise background, and a 4 in front of your sunset background.

例如,如果临近您希望应用日落背景的时间,则应在日落背景的文件名前放置1,在夜景背景前放置2,在日出背景前放置3,然后您的日落背景前的4。

Next, open the desktop background configuration screen by right-clicking the desktop and selecting “Personalize” or by heading to Settings > Personalization > Background on Windows 10.

接下来,通过右键单击桌面并选择“个性化”或前往Windows 10上的“设置”>“个性化”>“背景”,打开桌面背景配置屏幕。

Click the “Background” box, and then select the “Slideshow” option. Under “Choose albums for your slideshow, click the “Browse” button, and then select the folder containing your background images. Under “Change picture every,” click the box and select “6 hours” if you have four background images you want to cycle through. You can also select “1 hour” here if you want to provide 24 background images.

单击“背景”框,然后选择“幻灯片”选项。 在“选择幻灯片的相册”下,单击“浏览”按钮,然后选择包含背景图像的文件夹。 在“每隔更改图片”下,单击框,如果要循环浏览四个背景图像,则选择“ 6小时”。 如果要提供24张背景图像,也可以在此处选择“ 1小时”。

Ensure the Shuffle option is turned off. If Shuffle is enabled, you’ll get random background images and they won’t match the time of day.

确保关闭随机播放选项。 如果启用随机播放,您将获得随机的背景图像,并且它们与一天中的时间不匹配。

Windows will immediately set your desktop background to the image that is first alphanumerically in the folder. It will also immediately begin counting down from six hours.

Windows将立即将您的桌面背景设置为该文件夹中首字母数字形式的图像。 它将从六个小时立即开始倒计时。

In other words, if you want to see a sunset background at 4 p.m., a night background at 10 p.m., a sunrise background at 4 a.m., and a day background at 10 a.m., you should enable the slideshow background at exactly one of these times.

换句话说,如果您想在下午4点看到日落背景,在晚上10点看到夜晚背景,在凌晨4点看到日出背景,而在上午10点看到白天背景,则应该在其中一个时间启用幻灯片背景。

For example, if the sunset background is alphanumerically the first one in the folder, you should enable the slideshow background at exactly 4 p.m..

例如,如果日落背景是字母数字文件夹中的第一个背景,则应在下午4点正好启用幻灯片背景。

On Windows 7, the interface looks a bit different, but you can do the same thing.

在Windows 7上,界面看起来有些不同,但是您可以执行相同的操作。

Right-click the desktop, select “Personalize,” and then click the “Desktop Background” option. In the Desktop Background window, click the “Browse” button to the right of Picture location, and then choose the folder containing your wallpaper images. Select the background images you want to use, and then enable the timed slideshow feature on the “Change Picture Every” dropdown menu.

右键单击桌面,选择“个性化”,然后单击“桌面背景”选项。 在“桌面背景”窗口中,单击图片位置右侧的“浏览”按钮,然后选择包含墙纸图像的文件夹。 选择要使用的背景图像,然后在“每隔更改图片”下拉菜单上启用定时幻灯片显示功能。

如何使用任务计划程序更改桌面背景 (How to Change Your Desktop Backgrounds With the Task Scheduler)

You can have Windows automatically change your desktop background on a schedule via the Task Scheduler, too. It’s a more complex process because Windows doesn’t include a built-in command that changes your desktop background. You can change the registry setting that points at your desktop background, but we couldn’t find a built-in command that would reliably “refresh” that setting and apply your new wallpaper.

您也可以让Windows通过任务计划程序根据计划自动更改桌面背景。 这是一个更复杂的过程,因为Windows不包含用于更改桌面背景的内置命令。 您可以更改指向您的桌面背景的注册表设置,但是我们找不到能够可靠“刷新”该设置并应用新墙纸的内置命令。

Instead, we found that Microsoft’s own BgInfo tool worked pretty well. BgInfo is meant for writing system information text onto your desktop background, but it provides a reliable way to change your desktop background using commands. You’ll need to create several BgInfo configuration files containing the settings you want to apply, and then you’ll create scheduled tasks that automatically run these from the Task Scheduler.

相反,我们发现Microsoft自己的BgInfo工具运行得很好。 BgInfo旨在将系统信息文本写到您的桌面背景上,但是它提供了一种使用命令来更改桌面背景的可靠方法。 您需要创建几个BgInfo配置文件,其中包含要应用的设置,然后您将创建计划任务,这些任务将从Task Scheduler自动运行。

To get started, download BgInfo from Microsoft and extract its files into a folder. Launch the “Bginfo64.exe” program if you’re on a 64-bit version of Windows, or the Bginfo.exe file if you’re on a 32-bit version of Windows.

首先,请从Microsoft下载BgInfo并将其文件提取到一个文件夹中。 如果您使用的是64位版本的Windows ,则启动“ Bginfo64.exe”程序;如果您使用的是32位版本的Windows ,则启动Bginfo.exe文件。

After you fire up BGInfo, first select all the text in the main box and erase it. Type a single space character (or multiple space characters) here. This will prevent BGInfo from inserting any text into your background and ensure it will only change the wallpaper.

启动BGInfo之后,首先选择主框中的所有文本,然后将其删除。 在此处输入单个空格字符(或多个空格字符)。 这样可以防止BGInfo将任何文本插入背景中,并确保它只会更改墙纸。

Second, click the “Background” button.

其次,单击“背景”按钮。

In the Background window, select the “Use These Settings” option. Set the “Wallpaper Position” to either “Center” or “Stretch”—whatever you want to do with your background image. Then, click the “…” button to the right of the “Wallpaper Bitmap” box, and then browse to one of the background images you want to use.

在“后台”窗口中,选择“使用这些设置”选项。 将“墙纸位置”设置为“居中”或“拉伸”,无论您要对背景图像做什么。 然后,单击“墙纸位图”框右侧的“…”按钮,然后浏览到要使用的背景图像之一。

Click “OK” when you’re done.

完成后,单击“确定”。

Next, click File > Save As, and then save your configuration as a .bgi file.

接下来,单击文件>另存为,然后将配置另存为.bgi文件。

For example, we selected our day background image file while creating this profile, so we named it Day.bgi.

例如,我们在创建此配置文件时选择了一天背景图像文件,因此将其命名为Day.bgi。

Now, you’re going to repeat this process to create a separate .bgi profile representing each of your background images, naming them after the times of day you want to use them.

现在,您将重复此过程以创建一个代表每个背景图像的单独的.bgi配置文件,并在每天使用它们后对其进行命名。

When you’re done, your save folder should have all your images and a .bgi profile for each.

完成后,您的保存文件夹应包含所有图像和每个图像的.bgi配置文件。

After you’ve created your .bgi files, you can use the Task Scheduler to automatically apply them on a schedule.

创建.bgi文件后,可以使用任务计划程序将它们自动应用到计划中。

Click Start menu, type “Task Scheduler” into the search box, and then press Enter.

单击开始菜单,在搜索框中键入“任务计划程序”,然后按Enter。

In Task Scheduler, click Action > Create Basic Task to create a new task.

在任务计划程序中,单击操作>创建基本任务以创建新任务。

Give the task a name, and then click the “Next” button. For example, if this task will apply your sunset wallpaper around sunset, you might name it “Sunset Wallpaper.”

为任务命名,然后单击“下一步”按钮。 例如,如果此任务将您的日落壁纸应用于日落,则可以将其命名为“日落壁纸”。

Select the “Daily” trigger, and then click the “Next” button again

选择“每日”触发器,然后再次单击“下一步”按钮

Enter the time when you want the wallpaper to appear. For example, if sunset takes place around 9 p.m. in your location, you might set the wallpaper to appear at 8 p.m.. Select whatever time you like.

输入您希望墙纸出现的时间。 例如,如果日落发生在您所在位置的晚上9点左右,则可以将壁纸设置为晚上8点。 选择您喜欢的时间。

Ensure the task is set to recur every “1” days, and then click the “Next” button.

确保将任务设置为每隔“ 1”天重复一次,然后单击“下一步”按钮。

Select the “Start a Program” action, and then click “Next” again.

选择“启动程序”操作,然后再次单击“下一步”。

To the right of the “Program/script” text box, click the “Browse” button, and then browse to the Bginfo64.exe or Bginfo.exe program you used earlier.

在“程序/脚本”文本框的右侧,单击“浏览”按钮,然后浏览到先前使用的Bginfo64.exe或Bginfo.exe程序。

In the “Add arguments (optional)” box, type the following text, replacing “C:\path\to\file.bgi” with the path to the BGI file you created earlier:

在“添加参数(可选)”框中,键入以下文本,将“ C:\ path \ to \ file.bgi”替换为您先前创建的BGI文件的路径:

"C:\path\to\file.bgi" /timer 0 /silent

For example, if the Sunset.bgi file we created on our system is located at C:\Users\chris\Downloads\Mojave, we’d enter:

例如,如果我们在系统上创建的Sunset.bgi文件位于C:\ Users \ chris \ Downloads \ Mojave,则输入:

"C:\Users\chris\Downloads\Mojave\Sunset.bgi" /timer 0 /silent

Click “Next” to continue.

点击“下一步”继续。

Select the “Open the Properties dialog for this task when I click Finish” check box, and then click “Finish” to create your task.

选择“当我单击完成时打开此任务的属性对话框”复选框,然后单击“完成”以创建任务。

In the task window that opens, click over to the “Actions” tab, and then turn off the “Start the task only if the computer is on AC power” option. This allows the task to run even if you’re using a laptop on battery power.

在打开的任务窗口中,单击“操作”选项卡,然后关闭“仅在计算机使用交流电源时启动任务”选项。 即使您使用电池供电的笔记本电脑,这也可以使任务运行。

Finally, switch to the “Settings” tab, and then enable the “Run this task as soon as possible after a scheduled start is missed” option. This ensures the task will run and Windows will change your desktop background, even if your computer was shut down at the scheduled time.

最后,切换到“设置”选项卡,然后启用“错过计划的启动后尽快运行此任务”选项。 这样可以确保任务将运行,并且Windows将更改您的桌面背景,即使您的计算机已在计划的时间关闭。

Click “OK” to finish configuring the task.

单击“确定”完成任务配置。

You’ll find your created task under the “Task Scheduler Library” folder in Task Manager. To check that it works properly, right-click it and select the “Run” command. Your wallpaper should immediately change.

您可以在任务管理器的“任务计划程序库”文件夹下找到创建的任务。 要检查它是否正常运行,请右键单击它,然后选择“运行”命令。 您的墙纸应立即更改。

To finish this process, create several more scheduled tasks using the same technique, selecting a different time of day and pointing each at the appropriate .BGI file you created earlier. For example, if you created four total BGI files for four backgrounds, you need to create three more scheduled tasks that will automatically change your background images at the correct time of day.

要完成此过程,请使用相同的技术创建更多计划的任务,选择一天中的不同时间,然后将每个任务指向您之前创建的相应.BGI文件。 例如,如果您为四个背景总共创建了四个BGI文件,则需要再创建三个计划任务,这些任务将在一天的正确时间自动更改背景图像。

As the seasons change, you can return to the Task Scheduler and adjust the times of day when your desktop backgrounds change, too. To do so, locate a task under Task Scheduler Library and double-click it. Click the “Triggers” tab, click “Edit,” select a new time of day, and then click “OK” twice to save your changes.

随着季节的变化,您也可以返回任务计划程序,并在桌面背景发生变化时调整一天中的时间。 为此,请在“任务计划程序库”下找到一个任务,然后双击它。 单击“触发器”选项卡,单击“编辑”,选择一天中的新时间,然后单击两次“确定”以保存更改。

Hopefully, Microsoft will add a Dynamic Desktop-style feature to a future version of Windows 10 and eliminate the need for all this fiddling.

希望微软将在Windows 10的未来版本中添加动态桌面样式的功能,并消除所有这些麻烦。

翻译自: https://www.howtogeek.com/355912/how-to-change-windows-10s-wallpaper-based-on-time-of-day/

windows10墙纸

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值