0

Geektool で 10 秒ごとに繰り返すように設定された Applescript スクリプトがあります。

各ハンドラーの最後に何が起こっているかを知らせるリターンがありますが、それでは正確に何が起こっているのかスクリプトの途中で見る機会がほとんどありません。

だから私が求めているのは、Applescript に return のようなコマンドがあるが、スクリプトを停止しないかどうかです。

乾杯。

4

2 に答える 2

2
display dialog "This is what's going on" giving up after 1

また

    tell application "Terminal"
    activate
    set xxx to "This is what's going on"
    do script "echo " & quoted form of xxx in window 1
    delay 2
    do script "echo " & quoted form of xxx in window 1
end tell
于 2012-06-12T03:41:51.620 に答える
0

return 関数が機能するはずです。

    set stringYouWantToReturn to "banana"
return stringYouWantToReturn
于 2013-08-26T15:59:07.110 に答える