CotEditorでオープン中の最前面の書類の内容をすべて選択してコマンド(半角→全角 文字変換)を実行するAppleScriptです。
データ処理内容の確認のためにCotEditor上で処理したときに「あれ? 書類の内容を全選択する処理って書いたことなかったわ〜」と気づいて、慌てて書きました。
AppleScript名:最前面のドキュメント内を全選択して全角変換.scpt |
tell application "CotEditor" tell front document set tLen to length set aRange to {0, tLen} set range of selection to aRange change roman width selection to full end tell end tell |
(Visited 78 times, 1 visits today)