set holdthevolume to (path to resource "holdthevolume.scpt" in directory "Scripts")
run script holdthevolume
set copyfiles to (path to resource "copyfiles.scpt" in directory "Scripts")
run script copyfiles
ボリュームを保持します。「繰り返し」の下で実行されているスクリプトです。したがって、ti はアプリを終了するまで終了しません。これを行うと、そのプロセスを通過して2番目の部分「copyfiles」に移動することはありません。そのタスクが終了したかどうかを気にせずに次のタスクに進むにはどうすればよいですか?
スクリプト holdthevolume.scpt は次のとおりです。
repeat
set volume 7
delay 0.01
end repeat