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 43467 times)

IIO

  • Staff Member
  • 4096 MB
  • *******
  • Posts: 4812
  • 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: 200
  • 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

[Mac OS 9 on Unsupported Hardware] eMac 1.25ghz - OS9 installer not recognizing partition by Doctorkillbydeath87 March 10, 2026, 09:10:19 PM
[Hardware] Stylewriter Windows 10 by snes1423 March 09, 2026, 11:14:01 PM
[Hardware] PowerBook 3400c unexplained behaviour by snes1423 March 09, 2026, 11:09:42 PM
[Software] iMac G3 summer 2000 350mhz indigo cd's by snes1423 March 09, 2026, 10:20:25 PM
[Digital Audio Workstations & MIDI Applications] SPC Player/Plugin by snes1423 March 09, 2026, 09:08:58 PM
[News, Information & Feedback] WOW!!! by IIO March 07, 2026, 01:34:51 AM
[Off Topic] SSL Fail, Firefox etc. by GaryN March 06, 2026, 02:33:19 PM
[Software] iPhone image documents by ssp3 March 04, 2026, 08:12:35 AM