Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: iPhone Screenshot Utility
08-04-2007, 07:19 PM #1
iPhone Screenshot Utility
courtesy of tuaw.com
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.
08-05-2007, 01:21 AM #2
thats freakin awsome! someones gotta gotta make a wiki for mmi. im hopeless when it comes to stuff like that.
08-06-2007, 04:34 PM #3
where do you place "screenshot"?
08-06-2007, 05:54 PM #4
I placed mine in /bin.
Don't forget to chmod +x it!
08-06-2007, 05:56 PM #5help please
trying to get this and voice recorder working how do chmod it from windows is there any detail instructions
08-07-2007, 12:10 AM #6
do you have ssh running?
08-07-2007, 12:38 AM #7
whats the command to take a screenshot?
08-07-2007, 09:37 AM #8
08-07-2007, 10:41 AM #9
08-07-2007, 11:04 AM #10
08-07-2007, 11:07 AM #11
08-08-2007, 10:45 AM #12
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; 08-08-2007 at 11:38 AM.
08-09-2007, 12:56 AM #13
Cybergreg - thats a sexy homescreen, care to share?.
↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews
08-09-2007, 02:19 AM #14sweet app
thanx for submitting only took me an hour to figure out where to place the file lol typical windows user