たとえば、このスクリプトがAppleScript Editorで機能するのに、 Automatorでは機能しないのはなぜですか?
display dialog "a lot of text just to break to line 4 whatever continuing... few more... argh... there!" with title "just a test" buttons {"Cancel", "Uninstall", "Continue"} default button 3 with icon caution
Automatorだけでタイトルの後にすべてをコメントアウトすると、これが私が得る違いです:
タイトルと可能であれば3行以上が必要ですが、エディターとオートマターの間のapplescriptについて、過去1時間に見た奇妙な一貫性のない動作はこれらだけではありません。アイコンは別のものです。
この例では、Automatorで試してみるとエラーが発生します。
録音、ここでの質問は次のとおりです。
- なんで?なぜアップル、なぜ?
- 少なくともタイトルを機能させる方法はありますか?