Can I capture screen contents in a picture?

Hi,
I would like to know if I can capture contents of the screen (a UIImage and some Text) in single file and save the contents in the UserDefaults. The work around is to save the contents separately, but just wondering...
Thx - Sam.

Shnaps wrote:
I'd be curious about how the Cocoa can be 'nudged' to apply the pending changes.
Me too. As indicated in my last response, my understanding of this topic is fuzzy at best. A few months ago I was silly enough to describe my confusion in Software 101, and was rewarded with the following guidance from one of our experts:
The Cocoa event model is very thoroughly documented as are all the ways in which it may be bypassed for more immediate drawing tasks. There's no reason for any of this to be even remotely mysterious unless you simply haven't read any of it.
The author of the above is known for developing newbie abuse into an art form and I often begin my day by reading from the collection of his works I've managed to save over the past year. Some of these are quite rare btw, since they were deleted by management within a few minutes of publication.
I've yet to discover the documentation referred to above, or if I have, I didn't understand a word of it. If you're interested in general background, a good starting place might be The Event-Drawing Cycle, Revisited in the +Cocoa Fundamentals Guide+.
For the synchronization problem at hand, I think my first try would be one of the performSelector methods of NSObject.
I'm fairly sure it would be easy to hide the controls, then start the screen capture in a subsequent event cycle using performSelector:withObject:afterDelay:. However, the doc advises:
Specifying a delay of 0 does not necessarily cause the selector to be performed immediately. The selector is still queued on the thread’s run loop and performed as soon as possible.
Without testing I have no idea whether "asap" precludes the possibility of flicker.
Another method to look at is performSelectorOnMainThread:withObject:waitUntilDone:. I think this would set the hidden property immediately, as advertised. But I don't know whether the immediate processing would include updating the view.
If none of the performSelector methods do what you want, and you continue to have interest in this topic, it might be a good idea to start a new thread on how to ask Cocoa for a view update in the middle of an event cycle (or maybe how to ask for execution in a desired order?).
\- Ray

Similar Messages

  • How can I capture screen video (as opposed to just a screen shot) from my iPad?

    How can I capture a video shot of my iPad 2 (as opposed to a still screen shot)?

    Thanks so much for your reply. How would I go about mirroring the ipad screen onto my laptop? If I could do that, then I would think I could use Camtasia to get the video shot. I know I can use and hdmi conncetion to get the ipad screen to show on my TV but I'm not sure how to do it on my computer since it doesn't have an hdmi connection.

  • Can I Capture Screen Input (instructional video type stuff)

    Hi,
    Before buying QT7Pro, was wondering if anyone can tell me:
    - Will it let you record input from an application Window?
    I have a complex application for which I'm trying to build some sample QT movies. I saw some of the other threads, but I gathered that the complaint was that it didn't support direct input from an external source like a camera. Not sure if there's a difference here.
    Thanks in advance,
    Greg

    I use Snapz Pro (Ambrosia Software) on my Mac to record screen captures and mouse movements as QuickTime movies.
    There must be a similar screen record utility available to PC users.
    The Pro version of QT doesn't record the viewers display.

  • No count down screen and can't capture screen

    hello guys,
    i'm having a problem here with my Z10 STL00-1,
    1. i'm not able to capture the screen by pressing the volume (up and down).
    2. the countdown screen when you long press the power button doesn't show up, just straight to shutdown the phone
    can anyone tell me what is happening to my Z10

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414

  • HOW CAN I CAPTURE SCREEN AND SOUND WHILE WORKING IN AUDITION

    Hi!  I would like capture the screen in real time as well as the sound while working in audition and later add voice and annotations .
          I tried Adobe Acitvate but it is not working. Time is running out for my trial version and I need to decide to get the right software.
          Hope to get an answer soon.
    David

    Are you talking about having used Adobe Captivate? If yes, which kind of recording did you start? And; since you talk about a trial version, I suppose you use Captivate 7?

  • How can I Capture screen from command line

    When I start FME from command line it automatically capture
    from first camera
    But I want it start capture form screem automatically
    or I want to start 2 capture progress
    1 form camare
    2 form screen
    Thanks

    I don't print from the command line, so I don't know this off the top of my head. There are instructions for doing this in your CUPS documentation. Read Chapter 2 & 3 here:
    http://localhost:631/sum.html

  • My contact picture on the iPhone 6 blacks out but the screen does not turn blackouts can use the screen but no contact picture is displayed. Please help.

    IPhone 6 contact picture blacks out after calling on the phone. This is a sort of a bug since all the others options are available just the contact picture is blacked out

    Have you tried to delete the contact and then re add them?

  • How to capture screen in iOS 7?

    Hi!
    I can't make any screen capture on mi iPhone 5 with iOS7 running. When I try to press HOME and ON/OFF button, the iPhone go to lock mode and nothing else happends.
    How can i capture screens?
    Thank you so much.

    Your best move would have been not to have updated to beta software that's not on public release yet......

  • I used Time Machine to recover my Pictures folder. This created a folder called Pictures (original) but I cannot open it.  There is a do not enter roadsign, red disk and white bar on it.  How can I see the contents?

    I used Time Machine to recover my Pictures folder. This created a folder called Pictures (original) but I cannot open it.  There is a do not enter roadsign, red disk and white bar on it.  How can I see the contents?

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    chmod -R -N ~
    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens. You’re not going to reset the password.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • After navigating (sometimes downloading pictures, sometimes not) for approximately 10 minutes, I can no longer see contents of drop down menues, then Firefox freezes up and I have to use Ctrl/Alt/Delete to end my internet experience.

    After navigating (sometimes downloading pictures, sometimes not) for approximately 10 minutes, I can no longer see contents of drop down menus, then Firefox freezes up and I have to use Ctrl/Alt/Delete to end my internet experience.
    == This happened ==
    Every time Firefox opened
    == After upgrading to 3.6

    Step by step, how did you arrive at seeing this agreement?

  • How can  I capture a specific number of screen caps

    Using final cut or any other application, how can I capture a specific number of screen caps? Each video will have a different length.

    Bob,
    Please clarify your question. Are you asking about screen captures? If so, what software are you using and what does this have to do with FCP?
    -DH

  • How can servlet return the output as html content with drawing picture?

    Does anybody know how can a servlet return the output as html content with drawing picture?
    The drawing picture is drawn at runtime by the servlet.

    Thanks, BalusC.
    But I am not sure if I understand your reply fully.
    From my understanding, you are telling me to first generate a html from a servlet with the image <IMG> tag pointing to a servlet which will be responsible to generate an image?
    For example, <IMG SRC="http://myserver/servlet/testservlet">
    Could you confirm this?

  • My Old IMac G5 kaput, its on or seems to be on but its black screen can't do anything, though all my pictures I want and my itunes library...I got a Macbook and do use a Time machine, but can't get to old files,

    My Old IMac G5 kaput, its ON or seems to be ON but its black screen can't do anything, though all my pictures and files are there.  I want my photos and my itunes library Can't seem to get them.  ( I have not been able to share them to my phone or lap top anymore ever since my G5 flipped ) I got a Macbook and got it connected to the Time machine.  Trying to Migrate them here from my time machine, but I have not been able to so far. Can somebody help..?
    [email protected]
    Thank you  ;- )

    Have you tried restarting or resetting your iPhone?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).
    No data will be lost.

  • Can I automate 'Capture screen' on a remote Mac in Apple Remote Desktop?

    Subject says it all really, I need to find a way to automate screen capture on an an ARD managed Mac.
    Is it possible to automate 'Capture screen' on a remote Mac in ARD 3.3.2?
    Cheers
    Phil

    You can cron or otherwise automate the following command:
    screencapture -x silentscreenshot.jpg
    The x switch means the machine will not play the shutter sound.
    HTH!
    Ryan

  • How can I capture mouse click events on BSP or Web Dynpro ABAP Screen

    hi Guys,
    Currently we have a user inactivity problem,
    the requirement is: if user is clicking on BSP/Web Dynpro ABAP screen, he/she is considered active. so we need an mechanism to capture the mouse click event.
    Using Firebug, we found that this js is in the iframe which contains BSP/web dynpro scrren: /sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
    we want to find this js file & put in some javascript code to track user's mouse click, but i cannot find it on server.
    while in ie if we type http://host:port/sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
    this file can be downloaded, means this file is there.
    Any one can help on this issue? find the js file or another way to capture the mouse click event.
    Thanks a lot with points!

    Hi  Feng Guo,
                        We can not capture mouse click events on Web Dynpro ABAP Screen . I am not sure about BSP. But as for as I know the portal keep active the iViews until unless mouse clicks happens.
    But for your problem I think you can get solution by setting iView Expiration to some more time period.
    Regards,
    Siva

Maybe you are looking for