merely-useful / r-rse

ARCHIVED: Activity moved to rostools organization.
Other
11 stars 5 forks source link

Method for automating screenshots? #110

Closed k8hertweck closed 1 year ago

k8hertweck commented 3 years ago

We'll have a need to take screenshots of both RStudio and GitHub.

lwjohnst86 commented 2 years ago

The R package webshot is really good at selecting parts of a website and taking a screen shot so I suggest we use that. For RStudio, not sure yet. Maybe Install the server version, run in the browser and running webshot on that location?

lwjohnst86 commented 2 years ago

Just found that imagemagick has a command called import and the argument -window that lets you take a picture of an application. Only tricky thing is the "window id" might be different across applications. But using xwininfo you can get the info

Sources: