Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: scripting screenshot of fixed selection to clipboard  (Read 1921 times)

IIO

  • Staff Member
  • 4096 MB
  • *******
  • Posts: 4651
  • just a number
scripting screenshot of fixed selection to clipboard
« on: October 04, 2023, 04:20:10 PM »

say i needed to make a screenshot from the application ABC limited to e.g. 300 300 800 800 relative to the left top screen corner, and save that screenshot ONLY in the OS clipboard (i.e. without writing a file to disk before)

in an ideal case you would just lauch a script from the applemenu to do so.

(in OSX i also had access to the tcsh shell from within maxmsp.)

is that possible? any ideas?

i needed it for OS9, OSX PPC, later OSX, win10
Logged
insert arbitrary signature here

robespierre

  • 128 MB
  • ****
  • Posts: 151
  • malfrat des logiciels
Re: scripting screenshot of fixed selection to clipboard
« Reply #1 on: October 04, 2023, 07:23:35 PM »

Seems like it is possible using screencapture, mktemp, and ImageMagick's convert.
Logged
Pages: [1]   Go Up

Recent Topics