PR #3397 (screen shots) is ready for review

24 views
Skip to first unread message

Edward K. Ream

unread,
Jun 18, 2023, 1:59:15 PM6/18/23
to leo-editor
PR #3397:

1. Removes all traces of the --screen-shot command-line option.
2. Adds two new commands when the screenshots.py plugin is enabled:
 
  - take-local-screen-shot captures Leo's main window.
  - take-global -screen-shot captures the entire screen.

Both commands print a message, wait 5 seconds, take the shot, and save it to the user's home directory.

Your comments, please.

Edward

Thomas Passin

unread,
Jun 18, 2023, 2:06:53 PM6/18/23
to leo-editor
It's in the plugins directory but not in LeoPyRef as yet.  There is also a screen_capture.py plugin ... how do they differ?

Thomas Passin

unread,
Jun 18, 2023, 2:13:47 PM6/18/23
to leo-editor
Oh, I misunderstood.  I thought you meant that the PR had already been merged.  What I'm looking at in the plugins directory must be the old version.

Edward K. Ream

unread,
Jun 18, 2023, 8:38:57 PM6/18/23
to leo-e...@googlegroups.com
On Sun, Jun 18, 2023 at 1:06 PM Thomas Passin <tbp1...@gmail.com> wrote:
It's in the plugins directory but not in LeoPyRef as yet.

LeoPyRef.leo contains screenshots.py.

There is also a screen_capture.py plugin ... how do they differ?

I don't remember :-) I suspect both plugins are seldom/never used.

Edward
Reply all
Reply to author
Forward
0 new messages