Re: Scripting Image Capture
Re: Scripting Image Capture
- Subject: Re: Scripting Image Capture
- From: "Steven D. Majewski" <email@hidden>
- Date: Mon, 15 Oct 2007 16:43:50 -0400
On Oct 15, 2007, at 4:25 PM, Rob Lewis wrote:
I have a need to script Apple's Image Capture utility.
When I went looking for its dictionary, Script Editor offered me
Image Capture Scripting.app, located in /System/Library/Scripting
Additions.
But trying to open its dictionary gives me a no op. No error
message or anything, just nothing happens. Likewise when I try
double-clicking the app's icon. Inside its package is a Unix
executable called "Image Capture Scripting", but I am less than
clueless about what to do with it. And the actual Image Capture.app
doesn't appear to have a dictionary of its own.
I have read-only access to the folder and to the plug-in.
Ideas, anyone?
You can try /usr/sbin/screencapture from a 'do shell script' :
usage: screencapture [-icmwsWx] [files]
-i capture screen interactively, by selection or window
control key - causes screen shot to go to clipboard
space key - toggle between mouse selection and
window selection modes
escape key - cancels interactive screen shot
-c force screen capture to go to the clipboard
-m only capture the main monitor, undefined if -i is set
-w only allow window selection mode
-s only allow mouse selection mode
-W start interaction in window selection mode
-x do not play sounds
-S in window capture mode, capture the screen not the window
-C capture the cursor as well as the screen. only in non-
interactive modes
-t<format> image format to create, default is png
files where to save the screen capture, 1 file per screen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden