- iSightCapture
- A custom-made Automator workflow
- A Blackberry with data services (I have a T-Mobile Pearl)
- A free program called midpSSH installed on your Blackberry
First, download iSightCapture and put it in /usr/bin. Then start a new Automator workflow, and make it look like this:
- Automator: Run Shell Script -- (240x260 is my Pearl's screen resolution). The script: isightcapture -h 240 -w 260 /Users/you/Documents/shots/snappit.jpg
- Finder: Get Specified Finder Items [ignore results from previous action] -- add /Users/you/Documents/shots/snappit.jpg
- Mail: New Mail Message -- enter your Blackberry's email address in the To: field, give it a subject and a message if you so desire, and select your account (note you must have already set up some email address using the program Mail)
- Mail: Send Outgoing Messages
- Automator: Run AppleScript [ignore results from previous action] -- This script hides Mail:
tell application "System Events"
tell application "Mail" to activate
tell process "Mail"
keystroke "h" using command down
end tell
end tell - Automator: Run Shell Script [ignore results from previous action]:
cp /Users/you/Documents/shots/snappit.jpg
/Users/YOURUSERNAME/Documents/shots/snappit`date +%y%m%d%H%M%S`.jpg
I also then put in an Automator pause for 20 seconds, and then the shell script killall Mail, b
No comments:
Post a Comment