OSXのフリーソフト紹介、基本的な使い方を解説。
| PAGE-SELECT | NEXT ≫

#!/bin/sh
cat $0
sleep 120; open -g /Applications/Mail.app
sleep 30; open -g /Applications/Quicksilver.app
sleep 30; open -g /Applications/Eijiro\ Viewer.app
sleep 30; open -g /Applications/Dropbox.app
sleep 30; open -g /Applications/Caffeine.app起動させたいアプリ名を列挙します。chmod +x login.command
delay 10
launch application "Mail"
delay 20
launch application "Quicksilver.app"
delay 30
launch application "Dropbox"
delay 40
launch application "Caffeine"
defaults write com.apple.dock show-expose-menus -bool no; killall Dock Exposéを起動するように戻したい場合はnoをyesに変えてもう一度実行します。



curl --silent "Yahoo WeatherのURL" | grep "forecast-icon" | sed "s/.*background\:url(\'\(.*\)\')\;\ _background.*/\1/" | xargs curl --silent -o /tmp/weather.pngこれで指定した時間ごとにYahoo Weatherからアイコンを取得して「/tmp/weather.png」として保存してくれるようになったので、さらにGeekTookのImageでその画像を好きな場所に表示させるだけです。ccurl --silent "http://xml.weather.yahoo.com/forecastrss?p=YOURCITYCODE&u=c" | grep -E '(Current Conditions:|C<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//'「YOURCITYCODE」部分はYahooWeatherで住んでいる都市を検索して、そのURL部分に含まれている英数字に置き換えます。
| PAGE-SELECT | NEXT ≫