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

IIO

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

[Hardware] MDD Freeze / J20 RAM Slot by aBc Yesterday at 06:23:20 PM
[Software] Disk Copy 6.5b13 and image checksum by cyberish Yesterday at 01:31:25 PM
[Hardware] Fan controller for PowerBook G4s and iBooks by cyberish Yesterday at 01:20:28 AM
[Software] MacNFS file sharing by MigMac September 16, 2025, 03:25:55 PM
[Audio & MIDI Hardware] JL Cooper PPS-100Q Software by smilesdavis September 16, 2025, 02:47:16 AM
[New Member Welcome] Hello from Texas! by JKTwice September 15, 2025, 01:38:04 PM
[Community Marketplace] EMAGIC SOUNDDIVER 2.0.4 FOR MAC TO SELL by smilesdavis September 15, 2025, 03:27:00 AM
[News, Information & Feedback] Why do you need to log in to see images. by wove September 14, 2025, 05:24:52 PM