#pragma section-numbers off [[TableOfContents]] = 概要 = AppleScript = URL = http://www.apple.com/applescript/ http://www.apple.com/applescript/apps/ http://developer.apple.com/ja/technotes/tn1162.html このtnはMRJの時お世話になりました。 http://developer.apple.com/ja/technotes/tn2065.html = 利用方法 = {{{ /Applications/AppleScript/Script Editor.app }}} を起動して練習します。 = コマンドライン = osascript があります。 ぼくはほとんどこれを利用します。 利用方法等は man osascript を参照してみてください。 == AppleScriptバージョンの確認 == {{{ osascript -e "applescript's version" }}} == スタートディスク表示 == {{{ osascript -e 'tell application "Finder"' -e 'activate' -e 'open startup disk' -e 'end tell' }}} == Tips == http://www.macosxhints.com/article.php?story=20020806142539171 = Emacs = MacEmacs:AppleScript を参照 = System Event = http://www.apple.com/applescript/uiscripting/index.html http://www.prefab.com/uibrowser/ http://www.tidbits.com/tb-issues/lang/jp/TidBITS-jp-670.html#lnk3 http://www1.odn.ne.jp/~cge02410/script/system/events001.html http://www1.odn.ne.jp/~cge02410/panther/system_events_001.html http://underdone.visithp.jp/B846637169/C1031126114/E1690951975/ http://www.asahi-net.or.jp/~va5n-okmt/factory/applescript/sample_code/pages/sample.html http://www.macosxhints.com/article.php?story=20040205013711398 = Camino = {{{ tell application "Camino" to open location "http://sakito.s2.xrea.com/" }}} http://www.a-point.org/bn0303d.html = リファレンスサイト = [http://www.drycarbon.com/applescript/index.html AppleScript Lab.] [http://homepage1.nifty.com/ton_b/index.html AppleScript PARK] [http://www.oomori.com/applescript/ AppleScript辞書] [http://www.dd.iij4u.or.jp/~xyz/ AppleScript Irregulars] [http://www.sh.rim.or.jp/~shuichi/ SHUICHI.T による AppleScript 理論] [http://homepage.mac.com/jinjin/applescript/ AppleScript Beginner's] http://www.hyuki.com/yukiwiki/wiki.cgi?AppleScript http://cocomonar.sourceforge.jp/index.php?AppleScript = Tools = ["JavaScriptOSA"] [http://www.satimage.fr/software/en/softx.html smile] = 書籍 = [[ASIN(4797310111 AppleScriptリファレンス)]] = 参考サイト = ---- CategoryPrograming CategoryMac