• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Screencapture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Screencapture
      • From: Shane Stanley <email@hidden>
References: 
 >Screencapture (From: Andreas Kiel <email@hidden>)

  • Prev by Date: Re: Screencapture
  • Next by Date: Re: Screencapture
  • Previous by thread: Re: Screencapture
  • Next by thread: Re: Screencapture
  • Index(es):
    • Date
    • Thread