Re: Capturing active state
Re: Capturing active state
- Subject: Re: Capturing active state
- From: Rob Keniger <email@hidden>
- Date: Mon, 13 Jul 2009 11:18:04 +1000
On 13/07/2009, at 1:19 AM, Srinivas Prabhu G wrote:
But the problem here is, as our application is active, when we read
image from the frame
buffer states of all other apps look disabled ie. scroller and
buttons have greyish shade
instead of blue.
Similar problem is observed in SonOfGrab Apple sample application.
(http://devworld.apple.com/samplecode/SonOfGrab/index.html)
Is there any workaround to capture the active state of all the
windows in desktop?
If you add the key LSUIElement with a boolean value of YES to your
Info.plist file, your app will run without deactivating other apps.
It will also not have a menu bar or dock icon, however for a screen
capture app that is probably an advantage.
A simple example: http://keniger.com/stuff/ScreenOverlay.zip
(run it from the Finder, not Xcode).
--
Rob Keniger
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden