Geektool和返回的Applescript
我有一个Applescript脚本,设置为使用Geektool每10秒重复一次 我在每个处理程序的末尾都有返回,让我知道发生了什么,但这让我几乎没有机会看到中间脚本到底发生了什么 所以我要问的是,在Applescript中是否有类似return的命令,但不会停止脚本 干杯Geektool和返回的Applescript,applescript,return,geektool,Applescript,Return,Geektool,我有一个Applescript脚本,设置为使用Geektool每10秒重复一次 我在每个处理程序的末尾都有返回,让我知道发生了什么,但这让我几乎没有机会看到中间脚本到底发生了什么 所以我要问的是,在Applescript中是否有类似return的命令,但不会停止脚本 干杯 display dialog "This is what's going on" giving up after 1 或 返回函数应该可以工作 set stringYouWantToReturn to "banana
display dialog "This is what's going on" giving up after 1
或
返回函数应该可以工作
set stringYouWantToReturn to "banana"
return stringYouWantToReturn
啊,很接近,但是每10秒就有一个对话框是很烦人的。我正在寻找Applescript结果窗口之类的输出,即打印到命令行等。
set stringYouWantToReturn to "banana"
return stringYouWantToReturn