Created
October 31, 2008 11:54
-
-
Save halbtuerke/21292 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go through the tutorial at http://postpostmodern.com/instructional/screenwatcher/ and then come back here. | |
Here’s the way I got it to work on OS X Leopard. | |
Change the shell script to: | |
#!/bin/bash | |
PID=`ps -ax | grep loginwindow.app | grep -v grep | awk '{print $1}'` | |
# Change to a Screenwatcher directory in your home directory | |
cd /Users/patrick/Pictures/Screenwatcher | |
# Make a directory based on the date | |
mkdir -p `date "+%Y-%m-%d"` | |
# Capture | |
launchctl bsexec $PID screencapture -C `date "+%Y-%m-%d"`/`date "+%H.%M"`.png | |
Type this in your Terminal if you already have gone through the above tutorial: | |
launchctl unload ~/Library/LaunchAgents/ | |
sudo cp launchctl unload ~/Library/LaunchAgents/ /Library/LaunchAgents/ | |
sudo launchctl load /Library/LaunchAgents/ | |
That worked for me. I think the problem lies in the new permission system on Leopard. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doesn't work for me :( - any ideas?