AppleScript名:TextEditで文字数をカウントする |
tell application "TextEdit" tell front document set a to text of it end tell set tLen to length of a display dialog (tLen as string) & "文字です" with title "この文章の文字数は…" buttons {"OK"} default button 1 with icon 1 end tell –18058 |
(Visited 50 times, 1 visits today)