1. arthursdomain's Avatar
    courtesy of tuaw.com

    http://www.tuaw.com/2007/08/03/iphone-screenshot-utility/

    Earlier today, I learned about this iPhone screen shot snippet meant to be used inside an application. It produces PDF results. After playing with the code and realizing it probably couldn't be expanded to a general purpose screenshot utility, I decided to write one from scratch by taking advantage of UIApplication's _dumpScreenContents: protocol.

    My screenshot utility, which you can download here runs from the command line and produces a PNG output of your screen. I look forward to using this tool. It's certainly going to be a lot easier than trying to light the iPhone correctly and avoid reflections while snapping pictures with a digital camera.
    Update: My daughter figured out that if you set the iPhone to never sleep and put it into camera mode, you can script it to take screen shots every minute (or five minutes or however long) to take time lapse series of images. We are so going to try this out.
    Update 2: Tried it out. Only gets about 4 pictures per minute when in a loop so video is a no-go.
    2007-08-05 03:19 AM
  2. Shimizu1006's Avatar
    thats freakin awsome! someones gotta gotta make a wiki for mmi. im hopeless when it comes to stuff like that.
    2007-08-05 09:21 AM
  3. schind's Avatar
    where do you place "screenshot"?
    2007-08-07 12:34 AM
  4. inferno10's Avatar
    I placed mine in /bin.

    Don't forget to chmod +x it!
    2007-08-07 01:54 AM
  5. tarfan's Avatar
    trying to get this and voice recorder working how do chmod it from windows is there any detail instructions

    thanks
    2007-08-07 01:56 AM
  6. schind's Avatar
    do you have ssh running?
    2007-08-07 08:10 AM
  7. Jonny202003's Avatar
    whats the command to take a screenshot?
    2007-08-07 08:38 AM
  8. SiLeNtKiLLa's Avatar
    whats the command to take a screenshot?
    /bin/screenshot
    2007-08-07 05:37 PM
  9. CyberGreg's Avatar
    /bin/screenshot
    I can't take a picture of anything other than the Terminal window. How can I grab a screenshot of my desktop?
    Last edited by CyberGreg; 2008-07-25 at 11:10 PM.
    2007-08-07 06:41 PM
  10. SiLeNtKiLLa's Avatar
    I can't take a picture of anything other than the Terminal window. How can I grab a screenshot of my desktop?
    SSH from desktop (PC or MAC), put iPhone on which ever screen you would like, /bin/screenshot
    2007-08-07 07:04 PM
  11. CyberGreg's Avatar
    SSH from desktop (PC or MAC), put iPhone on which ever screen you would like, /bin/screenshot
    COOL!

    Thanks!
    Last edited by CyberGreg; 2008-07-25 at 11:10 PM.
    2007-08-07 07:07 PM
  12. Blueasseddwarf's Avatar
    Does anyone know if you can edit the screenshot command file to wait 3 seconds or something before taking a picture?


    Never mind, I answered my own question. That wouldn't work cause the second you quit MobileTerminal the command would quit as well, thus not taking a picture of anything.
    Last edited by Blueasseddwarf; 2007-08-08 at 07:38 PM.
    2007-08-08 06:45 PM
  13. Kyle Matthews's Avatar
    Cybergreg - thats a sexy homescreen, care to share?
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews
    2007-08-09 08:56 AM
  14. solidvxv's Avatar
    thanx for submitting only took me an hour to figure out where to place the file lol typical windows user
    Attached Thumbnails iPhone Screenshot Utility-foo_0.png  
    2007-08-09 10:19 AM
LINK TO POST COPIED TO CLIPBOARD