RE: Capture screen in Cocoa
RE: Capture screen in Cocoa
- Subject: RE: Capture screen in Cocoa
- From: "San Saeteurn" <email@hidden>
- Date: Fri, 01 Sep 2006 18:30:47 -0700
well, you can use the screencapture commnd line tool. For information of
screencapture, go to the terminal and type "man screencapture".
You can run this from your application using NSTask or the UNIX system calls
fork() and exec(). Or the general wrapper for those "int system(char
**path)".
Example:
int returnCode = system("/User/Applications/iTunes/Content/MacOS/iTunes");
-San Saeteurn
From: Alexander Cohen <email@hidden>
To: Apple CocoaList <email@hidden>
Subject: Capture screen in Cocoa
Date: Fri, 01 Sep 2006 21:06:19 -0400
Is there a way to capture an image of the screen from Cocoa?
AC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden