So what I need help with is communicating with the iphone via a mac program. I don't want to do complicated stuff, I mainly just want to send the "screenshot" command, much like xcode does in the or开发者_如何学Pythonganizer window, however I want to be able to do my own things with it.
Check http://code.google.com/p/iphonedisk/
It uses MacFUSE. While it seems to have some problems it is a good start and I was using it a couple of years ago.
This site lists a way to connect to SSH through a USB connection:
http://oss.coresecurity.com/iphonedbg/usb_tunnel_doc.htm
It would be useful for a jailbroken iPhone.
As for other possibilities I haven't looked into, iphuc might be able to do get you just the screenshot capability without requiring you to be jailbroken. You will probably need to sniff them while running the organizer.
精彩评论