How To: Running snap2album
Erica Sadun | 3:48 pm | October 25, 2007 | How-to, Utilities, iPhone
Need to shoot your screen? Snap2album allows you to take screen shots and send them directly to your iPhone photo album, where you can email them or sync them to your computer.The program is designed to be run from the command line. It takes no arguments. When run, it snaps the screen, puts the results into your camera roll, and quits.Install snap2album anywhere in your personal UNIX path. I keep mine in ~/bin. Other possibilities include /usr/local/bin and /bin. Keep in mind that space on the OS partition is limited. If you’ve removed the “noexec” flag from your media partition, it’s a lot better to keep your third party utilities there.Some people have asked about running snap2album on a time delay. If you have sleep installed, you can issue a command like: sleep 5; ./snap2album. Be aware though that the utility is not meant to be run from the iPhone itself but rather through an ssh session.If you want to snap your screens without the command-line, there’s also a solution. I gave Nate True a copy of the code and he added it to his Dock utility. That’s a much better choice for grabbing screen shots when you’re not near your home computer.
27 Comments »
Comment by northmendo | October 25, 2007 | 7:54 pm
Hello Erica,
everytime i try to run snap2album on my iPod Touch I get
# /bin/snap2album
2007-10-25 18:53:37 snap2album[1482:d03] Couldn’t register with bootstrap server unknown error code (0×44f); failing…
1482: ABORT: Unable to register “UnknownPurpleApp” port, 1103 unknown error code
zsh: abort /bin/snap2album
#
what am i doing wrong?
Comment by Erica Sadun | October 25, 2007 | 8:02 pm
You’re running another purple app like Dock or something else at the same time.
Comment by northmendo | October 25, 2007 | 8:27 pm
Yes, I would like to just take a picture from the dock app but can’t get that too work either.
Pingback by How To take iPhone screenshots at iPhones in RTP | October 26, 2007 | 7:34 am
[…] I’ve been posting my iPhone screenshots to flickr and a few of you have been asking how do you take screenshots. Well I’ll let the creator of the snap2album Erica tell you herself here: http://ericasadun.com/?p=40 […]
Comment by patrickj | October 26, 2007 | 10:19 am
northmendo - this is probably something you’ve already tried, but just in case - the Dock screenshot utility will not work if your Camera Roll is empty. If it is, just take a snap of anything with the iPhone camera, then give screenshot another go, and you should find that it works. Cheers …
Comment by northmendo | October 26, 2007 | 1:58 pm
I got it. I uninstalled dock then snap2album worked. Later I reinstalled dock and now the snapshot feature in dock works great. Thanks to all for the help.
Comment by hillie | October 26, 2007 | 11:31 pm
snap2album ROCKS
I used snap2album to get snapshots of various screens of unactivated iphone for my GUI jailbreak app, and also while at a HIM concert I used a combination of sleep, nohup and snap2album to get a screengrab showing that Sonar (club/venue in Baltimore) has its own Wi-fi..
I hope i’m not the only person to fire up vi on his iPhone at a music concert
Comment by eric | October 28, 2007 | 1:41 am
Hi Erica and thank you for your cool apps. i have a problem since i upgraded to 1.1.1. My dock 2.06 doesnt work anymore, and therefore all the erica’s utilities pack.
when i try to uninstall it i got an error mesage, “main script execution failed”.
i want to get the screenshot app back
and i was wondering if you had any idea on how to fix it.
i will try to install the snap2album meanwhile.
thank you
Comment by peter | October 28, 2007 | 9:14 am
Hi Erica
Thanks for your very useful utilities and I have been using many of them on my iPod Touch. As said, I am using a iPod Touch and not iPhone, is there any way to view my snapshots created either by snapalbum of snap right on my iPod without transferring back the shots to my computer before I can view them ?
Peter
Comment by distortedloop | October 29, 2007 | 7:03 pm
-sh: ./snap2album: Permission denied
What did I miss.
Thanks.
Comment by Erica Sadun | October 29, 2007 | 7:05 pm
Try ~/bin/snap2album instead
Comment by distortedloop | October 29, 2007 | 7:20 pm
-sh-3.2# ~/bin/snap2album
-sh: /var/root/bin/snap2album: Permission denied
Comment by Erica Sadun | October 29, 2007 | 7:23 pm
Make sure you’ve gotten rid of noexec in /etc/fstab and make sure you’ve set executable permissions, e.g. chmod 755 ~/bin/snap2album
Comment by distortedloop | October 29, 2007 | 8:39 pm
fstab was the problem, changed it to 755 and it works as advertised.
Cool little util.
Thanks!
Comment by peter | October 30, 2007 | 10:32 am
Hi Erica
May I know whether you have missed my question above ? Really hope there is a solution around.
Cheers
Peter
Comment by Erica Sadun | October 30, 2007 | 10:47 am
Touch does not have an onboard program that reads the DCIM folder so–no, you can’t for now view them onboard
Comment by peter | October 31, 2007 | 10:06 am
Oh..too bad…but thanks anyway for your kind reply..
Peter
Comment by lsf | November 10, 2007 | 6:20 am
Hi, Do you know if the dock version of this works on the ipod touch? I’ve got it installed and I’ve selected screengrab… but can’t see where, if anywhere, the images are dumped and how to obtain them…
Comment by Erica Sadun | November 11, 2007 | 9:07 am
I’d imagine that the dock version would work if you created /var/root/Media/DCIM/100Apple on your iPdo touch
Comment by lsf | November 11, 2007 | 9:57 am
Thanks for the reply. How would I do that? I did a search via Google and Technorati but got nowhere. Perhaps you could do a tutorial on TUAW or something on these basics?
(If you’ve already done one, perhaps my search skills are lacking…!)
Comment by Erica Sadun | November 11, 2007 | 10:16 am
The only way I can think of is either to go in via ssh, sftp or use the new AFC system to create the folders in Finder.
Comment by lsf | November 11, 2007 | 10:51 am
Thanks! I used ssh. It’s working now - but the directory needs to be 100APPLE as 100Apple doesn’t work. Thank you!
Comment by zutra | December 3, 2007 | 2:28 pm
ive got the file on my ipod and i can find it through finder but how do i get it to pop up through my photos to access them???
Comment by Erica Sadun | December 3, 2007 | 2:44 pm
Use Image Capture. It will see your iPod touch as a camera and read the DCIM folder.
Comment by zutra | December 3, 2007 | 10:31 pm
how do I get that
Comment by zutra | December 3, 2007 | 10:31 pm
how do I get that
Comment by taqi | March 26, 2008 | 4:35 am
Hi Erica ,
Can you please resolve the following error
“couldn’t register with bootstrap server unknown error code(0*44); failling…
130: ABORT: Unable to register “UnknowPurpleApp” port,1103 unknown error code zsh: abort MyApp.”
I get this error message when i run my application from terminal ,earlier my application was working fine but when i tried to reinstall BSDSub system from that time i am getting this error.Even i get this error for my other applications .
Awaiting for your precious reply.
Comments RSS.
Leave a comment
You must be logged in to post a comment.