亀どん さん
フォローありがとうございます。
帰ったら話が大分先に進んでました。とりあえず「タブ」→「カンマ」でやってみることになったんですね。
終了ダイアログの AppleScript はこんな感じでどうでしょう?シェルスクリプト→AppleScript で終了ダイアログ...というのを良くやるので、これを使い回してたりします。
ダイアログにファイルを表示、11個以上は「その他 n 項目」と表示します。
AppleScript を実行
property msg1 : "処理が完了しました。" property msg2 : "なし" property msg3 : "他 “" property msg4 : "項目”" on run {argv} try set argc to count argv if argc = 0 or argv is {""} then set msg to msg2 else if argc < 11 then set msg to conv_ary2str(argv, 10) else set msg to conv_ary2str(items 1 thru 10 of argv, 10) & return & ¬ msg3 & (count of items 11 thru end of argv) & msg4 end if using terms from application "Finder" tell me to activate display alert msg1 message msg giving up after 60 end using terms from on error err_msg number err_num using terms from application "Finder" tell me to activate display alert "Error!" message err_num & ": " & err_msg as warning end using terms from end try end run -- subroutine: conv_ary2str(ary, n) -- tab:9 cr:13 nl:10 space:32 period:46 comma:44 slash:47 on conv_ary2str(ary, n) set ifs_org to text item delimiters of AppleScript set text item delimiters of AppleScript to character id (n) set str to ary as text set text item delimiters of AppleScript to ifs_org return str end conv_ary2str