OpenAdapt icon indicating copy to clipboard operation
OpenAdapt copied to clipboard

Support multiple monitors

Open vishwamartur opened this issue 10 months ago • 2 comments

Related to #766

Add support for multiple monitors and provide screenshots of the visualization containing more than one monitor.

  • openadapt/utils.py

    • Update take_screenshot function to iterate through all monitors and capture screenshots.
    • Add a new function take_screenshots to return a list of screenshots from all monitors.
  • openadapt/visualize.py

    • Modify main function to handle and display screenshots from multiple monitors.
    • Update the HTML generation logic to include screenshots from all monitors.
  • openadapt/record.py

    • Update read_screen_events function to support capturing screenshots from multiple monitors.
  • tests/openadapt/test_utils.py

    • Add unit tests for the new take_screenshots function.

/claim #766

vishwamartur avatar Jan 20 '25 03:01 vishwamartur

Thank you @vishwamartur! Can you please paste some screenshots of visualize.py and the dashboard? Also can you please upload the HTML file produced with visualize.py --cleanup=False?

abrichr avatar Jan 20 '25 13:01 abrichr