8000 Windows Get is successful even if the wallpaper doesn't exist · Issue #11 · reujab/wallpaper · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Windows Get is successful even if the wallpaper doesn't exist #11
Open
@phanirithvij

Description

@phanirithvij

Try these

wallpaper.SetFromFile("C:\\some\\image.jpg")
  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0