Hopefully the viral marketing has expanded the range of locales included in the world map on your site meter. Vicarious travel is like the internet version of temporary tattoos.
do shell script "DATE=`date '+%Y%d%m-%H%M%S'`; FILE=~/Pictures/screenshot-${DATE}.png; screencapture -m -S -x $FILE; if [ -e $FILE ]; then open /Applications/Preview.app $FILE; fi"
Can you think of what the -e flag is in the if statement? Is it a file existence check? I'm not quite sure but it makes it work. A 415 page manual didn't tell me why. WTF?
5 comments:
It's funny.
Hopefully the viral marketing has expanded the range of locales included in the world map on your site meter. Vicarious travel is like the internet version of temporary tattoos.
do shell script "DATE=`date '+%Y%d%m-%H%M%S'`;
FILE=~/Pictures/screenshot-${DATE}.png;
screencapture -m -S -x $FILE;
if [ -e $FILE ];
then open /Applications/Preview.app $FILE;
fi"
Can you think of what the -e flag is in the if statement? Is it a file existence check? I'm not quite sure but it makes it work. A 415 page manual didn't tell me why. WTF?
mitchell, WtF?
hil isn't a girlfriend.
sorry.
but wishing it so does not make it so.
not trying to mean, but for your own good it needed saying.
be mean
Post a Comment