0
我从AppleScript创建了一个应用程序。以下是代码,应用程序“SomeApp.app”无法打开?
tell application "Terminal"
activate
set shell to do script "clear" in window 1
do script "python ~/Desktop/Prog/Prog.py" in shell
end tell
从应用程序文件夹运行时,出现错误消息The application Prog can’t be opened
。但它在其他文件夹中正常工作。即使在“应用程序”文件夹中的子文件夹中工作正常只适用于Applications文件夹。
如何解决这一问题?