【发布时间】:2012-04-19 09:27:03
【问题描述】:
我正在使用以下applescript 重新启动查找器应用程序。
osascript -e "tell application \"Finder\"" -e "delay 1" -e "try" -e "quit" -e "delay 1" -e "activate" -e "end try" -e "end tell"
但有时此脚本不会重新启动 finder 应用程序(仅退出 finder 应用程序)。我在控制台中没有收到任何错误。
http://www.cocoabuilder.com/archive/cocoa/113654-nsapplescript-buggy.html
谁能帮帮我?
【问题讨论】:
标签: objective-c applescript finder appleevents