如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機

Windows Spotlight 是 Windows 10 上的一項新功能,允許用戶從 Bing Images 下載並使用當天的精選照片作為鎖屏,此外還可以對照片進行投票和評論。

在螢幕的右上角,您可以透過在目前顯示的圖像上向上(喜歡)或向下滑動來表示您的喜歡。如果您不喜歡,圖像就會消失。如果您喜歡它,下次就會出現類似的圖像。

這個功能非常酷,可以讓你定期自動更換鎖定螢幕壁紙,並顯示最佳圖片。

在使用 Spotlight 時,如果您喜歡某些圖像並想在其他電腦上使用它們,您可以透過執行以下操作來下載並儲存它們。

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機

如何下載 Windows 10 鎖定畫面上顯示的影像

使用 PowerShell 腳本尋找並儲存 Windows Spotlight 背景圖片

1.下載 PowerShell 腳本 Find_Windows_Spotlight_images.ps1

代碼:

$WindowsSpotlightFolder = "$env:USERPROFILE\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets"
$WindowsSpotlightImages = "$env:USERPROFILE\Desktop\SpotlightImages\"

if (Test-Path $WindowsSpotlightImages) {
    $FolderTimestamp = Get-Date (Get-Item $WindowsSpotlightImages).LastWriteTime -Format "yyyyMMdd.HHmmss"
    Rename-Item -Path $WindowsSpotlightImages -NewName ('SpotlightImages-' + $FolderTimestamp) -Force
    Remove-Variable FolderTimestamp   # Cleanup
}

New-Item -Path $WindowsSpotlightImages -ItemType Directory | Out-Null

Add-Type -AssemblyName System.Drawing
$ImagesToCopy = @()
$(Get-ChildItem -Path $WindowsSpotlightFolder).FullName | ForEach-Object { 
    $Image = [System.Drawing.Image]::Fromfile($_)
    $Dimensions = "$($Image.Width)x$($Image.Height)"

    If ($Dimensions -eq "1920x1080") {
        $ImagesToCopy += $_
    }
    $Image.Dispose()
}

$ImagesToCopy | Copy-Item -Destination $WindowsSpotlightImages 
$FileNumber = 0

Get-ChildItem -Path $WindowsSpotlightImages | Sort-Object LastWriteTime | 
foreach {
    $FileNumber += 1
    Rename-Item -Path $_.FullName -NewName ("1920x1080_" + $FileNumber.ToString("000") + '.jpg')
}

# Report
$NewSpotlgihtImages = Get-ChildItem -Path $WindowsSpotlightImages
if ($NewSpotlgihtImages) {
    Write-Host
    ($NewSpotlgihtImages).Name
    Write-Host `n($NewSpotlgihtImages).Count "new images were copied into $WindowsSpotlightImages`n" -ForegroundColor Green 
}
else { 
    Write-Host "`nNo new images were copied.`n" -ForegroundColor Red
    Remove-Item $WindowsSpotlightImages -Force
}

# Cleanup
Remove-Variable WindowsSpotlightFolder, WindowsSpotlightImages, ImagesToCopy, Image, Dimensions, FileNumber, NewSpotlgihtImages

2.將.ps1檔案儲存到桌面。

3.解除封鎖.ps1 檔案。

4. 以滑鼠右鍵或按住 .ps1 文件,然後按一下「使用 PowerShell 執行」

5. 現在,您的桌面上將有一個SpotlightImages資料夾,其中保存了 1920 x 1080 的 Windows Spotlight 映像。

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
桌面上的 SpotlightImages 資料夾,其中保存了 1920 x 1080 的 Windows Spotlight 映像

尋找並手動儲存 Windows Spotlight 背景圖片

1. 將下面的資料夾位置複製並貼上到檔案總管網址列中,然後點選Enter開啟 Assets 資料夾

注意:下面的資料夾的位置顯示在下面的註冊表項的LandscapeAssetPath字串值中。

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lock Screen\Creative
%LocalAppData%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets

2. 選擇Assets資料夾中的所有項目,然後將它們全部複製到您選擇的另一個資料夾(例如%UserProfile%\Pictures )。

如果您願意,您也可以右鍵單擊文件,按一下「開啟方式」,然後選擇「Windows 照片檢視器」來查看列出的 Windows Spotlight 影像。

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
選擇 Assets 資料夾中的所有項目,並將它們全部複製到另一個資料夾

3. 開啟儲存項目的資料夾(例如,%UserProfile%\Pictures ),按一下「檔案」標籤,按一下「開啟 Windows PowerShell 」,然後再次選擇「開啟 Windows PowerShell」

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
按一下「檔案」選項卡,按一下「開啟 Windows PowerShell」兩次

4. 在PowerShell輸入以下每個命令,輸入Enter每個命令後按 Enter 鍵,完成後關閉 PowerShell。這將重命名資料夾中的所有項目並新增.jpg 檔案副檔名。

cmd
ren * * .jpg
如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
在 PowerShell 中輸入命令

5. 將「尺寸」欄位新增至儲存項目的資料夾(例如,%UserProfile%\Pictures )。將資料夾視圖變更為按尺寸詳細資料降序排序。

6. 您會注意到,Windows Spotlight 影像在 PC 和行動裝置上的大小會有所不同。您可以刪除不想儲存的。

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
Windows Spotlight 影像在 PC 和行動裝置上的尺寸會有所不同

7. 這是以超大圖示檢視顯示的 1920 x 1080 Windows Spotlight PC 影像。

如何從 Spotlight 下載 Windows 10 鎖定畫面影像到您的計算機
這是一張 1920 x 1080 的 Windows Spotlight PC 映像,以超大圖示視圖顯示

如果您不想使用 PowerShell,您可以下載任何重新命名實用程式(如批次重命名實用程式)並安裝它。

安裝完成後,打開應用程序,導航到資料夾,選擇所有文件,然後添加擴展名“.jpg”。

如果您懶得手動下載,可以在此下載完整的 Windows Spotlight 套件

請參閱下面的更多文章:

祝你好運!

Sign up and earn $1000 a day ⋙

Leave a Comment

如何將「結束工作」新增至 Windows 11 工作列

如何將「結束工作」新增至 Windows 11 工作列

Windows 11 具有一項功能,可直接在工作列上新增「結束工作」按鈕,因此您無需存取工作管理員來關閉無回應的應用程式。

必備的 Windows 桌面視覺增強工具

必備的 Windows 桌面視覺增強工具

如果您厭倦了每天盯著相同的介面,這些工具將增強您的桌面體驗。

除非您進行這些更改,否則 Windows 11 將不會尊重您的隱私!

除非您進行這些更改,否則 Windows 11 將不會尊重您的隱私!

Windows 11 以隱私保護不足而聞名,許多預設設定可能會導致隱私問題。不過不用擔心,有一些方法可以重新獲得這方面的控制權。

在 Windows 10 上重新取得 Windows 照片檢視器以更快地查看照片,照片太慢了!

在 Windows 10 上重新取得 Windows 照片檢視器以更快地查看照片,照片太慢了!

如果您不喜歡 Windows 10 上的照片,並且想要使用 Windows 10 上的 Windows 照片檢視器檢視照片,請按照本指南將 Windows 照片檢視器帶到 Windows 10,幫助您更快地檢視照片。

如何在沒有第三方軟體的情況下克隆Windows硬碟

如何在沒有第三方軟體的情況下克隆Windows硬碟

複製過程涉及將資料從一個儲存裝置移至另一個儲存裝置(在本例中為硬碟),並從目標磁碟機複製精確的副本。

如何在 Windows 上停用快速啟動

如何在 Windows 上停用快速啟動

快速啟動 Windows 11 可以幫助您的電腦更快啟動,但這也可能是您的 Windows 電腦無法完全關閉的原因。

如何修復 Windows 上的磁碟錯誤

如何修復 Windows 上的磁碟錯誤

與電腦驅動器相關的錯誤可能會阻止系統正常啟動並限制對檔案和應用程式的存取。

在 Windows 10 上設定和管理 FTP 伺服器的說明

在 Windows 10 上設定和管理 FTP 伺服器的說明

如果您想要建立一個私有雲來無限制地共享和傳輸大文件,您可以在 Windows 10 電腦上建立一個 FTP 伺服器(文件傳輸協定伺服器)。

Windows 上的 ProgramData 資料夾是什麼?

Windows 上的 ProgramData 資料夾是什麼?

在較新版本的 Windows 中,您會在系統磁碟機(通常為 C:\)上找到一個名為 ProgramData 的資料夾。但是,此資料夾是隱藏的,因此只有在檔案總管中啟用顯示資料夾和檔案時才能看到它。

如何在 Windows 10 上開啟 EPUB 檔案(無需 Microsoft Edge)

如何在 Windows 10 上開啟 EPUB 檔案(無需 Microsoft Edge)

微軟基於 Chromium 的新 Edge 瀏覽器不再支援 EPUB 電子書檔案。您需要第三方 EPUB 閱讀器應用程式才能在 Windows 10 上讀取 EPUB 檔案。以下是一些不錯的免費閱讀器應用程式供您選擇。

如何查看 Windows 11 文字和圖像建立應用程式

如何查看 Windows 11 文字和圖像建立應用程式

從 Windows 11 build 26120.4741(Beta 24H2)和 build 26200.5710(Dev 25H2)開始,使用者可以看到哪些第三方應用程式使用了 Windows 驅動的 AI 模型。

如何使用 Flyby11 在舊電腦上安裝 Windows 11

如何使用 Flyby11 在舊電腦上安裝 Windows 11

Windows 10 的支援即將終止,如果你的電腦無法執行 Windows 11,它就只能被丟進垃圾桶了。不過,現在有一款巧妙的工具,只需簡單的破解,就能讓你的舊電腦運行 Windows 11。

關於 Windows 上的遊戲模式

關於 Windows 上的遊戲模式

遊戲模式是 Windows 10/11 的效能助推器,它的作用不僅僅是從您最喜歡的 FPS 中擠出每秒幾幀額外的幀數。

如何使用 SpeedFan 檢查 CPU 溫度和電腦風扇速度

如何使用 SpeedFan 檢查 CPU 溫度和電腦風扇速度

SpeedFan 工具會檢查您電腦的溫度、CPU 使用率和風扇速度,以便您可以冷卻電腦。

許多人不使用的 10 個 Windows 優秀功能

許多人不使用的 10 個 Windows 優秀功能

從直接在任務欄上終止凍結的應用程式到在您離開時自動鎖定計算機,有很多工具您會希望早點發現它們。