wallpaper
wallpaper copied to clipboard
Windows Get is successful even if the wallpaper doesn't exist
Try these
wallpaper.SetFromFile("C:\\some\\image.jpg")
- Then delete that file
wallpaper.Get()
// gives the exact same path i.e. C:\some\image.jpg
I know this is a systemParametersInfo
implementation issue.
But is there something that can be done to extract the wallpaper more reliably?
So that something like wallpaper.Get().save(path)
can be implemented without no worries.
This looks promising https://superuser.com/questions/966650/path-to-current-desktop-backgrounds-in-windows-10