我正在写一个脚本批量转换视频到h.265格式,这使用repeat with来通过所有的视频。它可以同时处理3或4个文件,但我的旧mac会在视频数量达到~50个时重新启动。 repeat with videofile in video_list
set filePath to POSIX path of videofile
set filePath to esc_space(filePath)
set [folderPath, filename] to split_path_name(filePath)
tell application "Termin