僅有3腳本的行如何調試液滴能夠不留的AppleScript編輯使用AppleScript
set fich to POSIX file "/Appli/conv2spct.app" as string
tell application "Finder" to open POSIX file "/Users/yourusername/Desktop/somefile" using application file fich
如果在你的液滴錯誤顯示的對話框將通過腳本編輯器中打開測試液滴的應用AppleScript的
好東西,但我建議更清楚爲什麼你的代碼是必要的(腳本編輯器將啓動正在開發的保持打開的應用程序,但不會保持打開狀態)。我建議在問題中解釋解決方案的必要性,並將兩種解決方案都轉化爲答案。 – mklement0