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

IIO

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

[Off Topic] What did you do with your PowerPC Mac today? by smilesdavis Yesterday at 11:10:58 AM
[Off Topic] Music Faves by jojo2k Yesterday at 07:57:27 AM
[Hardware] Powerbook for OS9 and SVP by BimmyLee August 29, 2025, 09:53:37 PM
[Hardware] MDD Freeze / J20 RAM Slot by aBc August 29, 2025, 07:41:14 PM
[Hardware] G4 MDD only boots using ADC monitor power button by smilesdavis August 29, 2025, 09:31:06 AM
[Hardware] Rev A/B iMac Freezes on Startup by keithiepoo August 28, 2025, 04:42:38 AM
[Off Topic] Power Use by torvan August 27, 2025, 11:01:40 PM
[Mac OS 9, Hacks & Upgrades] help my b+w g3 450 is haunted! upgrading from 8.6 to 9.0 fine but 9.1 ruins it by DieHard August 27, 2025, 04:50:57 PM