AppleScript名:CotEditorでオープン中の最前面の書類の本文テキストを取得する |
set aRes to getCotEditorText() of me
on getCotEditorText() tell application "CotEditor" if (count every document) = 0 then return false tell front document set aText to contents end tell end tell end getCotEditorText |
(Visited 35 times, 1 visits today)