AppleScriptからskype APIを使うときのメモ

tell application "Skype"
	-- 状態の取得などはこんな感じ
	set skype_ver to (send command "GET SKYPEVERSION" script name "test")
	log "skype version is " & skype_ver

	-- ムードメッセージの設定
	send command "SET PROFILE MOOD_TEXT " & "STATUS STR HERE" script name "test"
end tell

commandとscript nameの2つをskypeに渡す必要がある。