Re: Screencapture
Re: Screencapture
- Subject: Re: Screencapture
- From: Stan Cleveland <email@hidden>
- Date: Fri, 07 Mar 2014 11:52:22 -0800
On Mar 7, 2014, at 3:07 AM, Andreas Kiel wrote:
> Is there any way to capture a region of the screen by values (xPos, yPos, xWidth, xHeight) with AppleScript (shell script)
Hi Andreas,
Check this link: https://discussions.apple.com/thread/5641587
The very last post (by Hiroto on Dec 9, 2013, at 12:47 PM) contains an AppleScript handler to which one passes the x, y, w, and h of the desired screen region.
The handler appears to use Cocoa calls from Ruby executed via shell script. This is way beyond my skill set, but perhaps Hiroto's code could provide some clues for an ASObjC version?
It may be doing exactly what Shane suggested--capturing the entire screen, then cropping it. But, if nothing else, it provides ready-to-go code that works for Mavericks and before.
Stan C.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden