Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add support for screencapture #89

Open
pbnj opened this issue Nov 6, 2016 · 2 comments
Open

Feature: Add support for screencapture #89

pbnj opened this issue Nov 6, 2016 · 2 comments

Comments

@pbnj
Copy link
Contributor

pbnj commented Nov 6, 2016

Adding support for most common screen capture use-cases might be nice.

For example:

  • To screen-capture a Window: screencapture -iW ~/Desktop/screen.jpg (where i flag is interactive and W is Window Selection Mode)
  • To screen-capture a user-defined rectangle: screencapture -i ~/Desktop/screen.jpg
  • To screen-capture the whole screen: screencapture -S ~/Desktop/screen.jpg

I envision the CLI interaction might look something like:

usage: m screencap [ file-name | -w | -f | -r | help ]

Examples:
    m screencap                          # full screencapture of current screen. File saved as ~/Desktop/screen.jpg
    m screencap window.png -w            # prompt user to select a window to screencapture
    m screencap ~/Documents/full.jpg -f  # full screencapture of current screen
    m screencap rectangle.pdf -r         # prompt user to select custom dimensions.

Gotchas:

  • File name is required. If user types any command without specifying a file name, use a default name and location (e.g. ~/Desktop/screen.png)

Reference: http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X

@rgcr
Copy link
Owner

rgcr commented Nov 7, 2016

That's a good idea 👍

@thegranddesign
Copy link

Options for screen capture are implemented in #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants