2016年5月19日木曜日

リモートアップルイベントでスクリプト終わったら通知

リモートアップルイベントでスクリプト終わったら通知させるってのが出来そう
set remoteFinder to application "Finder" of machine "eppc://user:passwd@yourserver.local"
using terms from application "Finder"
  tell remoteFinder
    eject every disk
  end tell
end using terms from
https://gist.github.com/poohtaro/5999459

tell application “iCal” of machine “eppc://user:password@bonjourMachineName.local”
  activate
end tell

http://piyocast.com/as/archives/897


通知センターへの書き方
display notification "めっせーじ" with title "たいとる" subtitle "さぶたいとる" sound name "Purr"

0 件のコメント:

コメントを投稿