03/02/05 23:57 piJA691F
>>593
こうしましょう!
Mac起動後、初回 login 時に自動的にSETIを立ち上げる方法
OS X v10.2.x 用です
1. setiathome の入ったフォルダ setiathome-3.03.powerpc-apple-darwin1.2 は /Applications に置く。
2. /Applications/setiathome-3.03.powerpc-apple-darwin1.2/ に runseti.sh として以下を置く。utf-8/LF のこと。
//**テキストエディタで起動スクリプトを作成し /Applications/setiathome-3.03.powerpc-apple-darwin1.2/ に置く**//
//**ファイル名はrunseti.sh**//
#!/bin/sh
cd /Applications/setiathome-3.03.powerpc-apple-darwin1.2
./setiathome &
3. /Applications/setiathome-3.03.powerpc-apple-darwin1.2/runseti.sh を実行可能にするため、以下を実行。
//**スクリプトを動作させるためのターミナルコマンド**//
chmod 755 /Applications/setiathome-3.03.powerpc-apple-darwin1.2/runseti.sh
4. AppleScript のアプリケーション形式で以下を(適当な名前で)保存して
システム環境設定の login項目に追加。
try
do shell script "ps acx | grep setiathome"
on error
tell application "Finder" to open "Macintosh HD:Applications:setiathome-3.03.powerpc-apple-darwin1.2:runseti.sh"
end try
5. SetiDockling の Preferences... の Path に /Applications/setiathome-3.03.powerpc-apple-darwin1.2 を指定する。