Skip to content

Capture is not only of QT/Bowser Window #56

@jleidigh

Description

@jleidigh

First thanks very much for the code!!! Works great for single/manual captures but....

I am executing the code on OSX Yosemite.
If I force focus to the python-QT app by clicking its window BEFORE the "screen shot" is captured it works perfectly BUT if I simply launch the webkit2png script from my terminal app and DO NOT force focus to python-QT, the terminal app (currently in the foreground) is actually included as part of the generated screen capture.

This prevents me from using the app in an automated fashion to capture a list of URLs. Is it possible to programmatically force focus?

Thanks again!

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