Monthly Archives: August 2009

screencapture + ftp upload in AppleScript

set this_file to "/tmp/com.zuzara.desktop.png" set ftp_host to "***" set ftp_user to "***" set ftp_password to "***" set ftp_path to "/***" set ftp_newfile to do shell script "date '+%Y%m%d%H%M.png'"   try do shell script "screencapture " & quoted form of POSIX path of this_file tell application "Image Events" [...]
Posted in Create | Tagged , | 2 Comments

screencapture doesn’t work on GNU screen

While using screen screencapture command doesn’t work well. It creates only a black image file. % screen % screencapture ~/Desktop/desktop.png // it doesn't work % exit % screencapture ~/Desktop/desktop.png // it works! Mac OS 10.5.7
Posted in Uncategorized | Leave a comment
  • About

    I'm Nobu, a web developer living in Mountain View, CA. Feel free to comment on any posts. I'm also tweeting on twitter.

  • Archives

  • Recent Posts