|
$TranscodedImageCache=(Get-ItemProperty 'HKCU:\Control Panel\Desktop' TranscodedImageCache -ErrorAction Stop).TranscodedImageCache |
This script works well if there is only one monitor (or you have the same image across multiple monitors), but if you have different images per monitor there is a different TranscodedImageCache _XXX per each one:

(In this case I have 3 monitors)
I have modified the ps1 script to open every single XXX image, which works fine I guess, but I was wondering if you knew how to pass the correct monitor XXX to the script and only open the desktop image on the current monitor one has right clicked.
AdminScripts/Wallpaper/Find current wallpaper (Windows 8,10).ps1
Line 25 in 551e29c
This script works well if there is only one monitor (or you have the same image across multiple monitors), but if you have different images per monitor there is a different TranscodedImageCache _XXX per each one:
(In this case I have 3 monitors)
I have modified the ps1 script to open every single XXX image, which works fine I guess, but I was wondering if you knew how to pass the correct monitor XXX to the script and only open the desktop image on the current monitor one has right clicked.