AppleScript名:CotEditor 3でHooking Script |
use AppleScript version "2.4" use scripting additions –use framework "Foundation" using terms from application "CotEditor" on document opened theDocument tell application "CotEditor" set thePath to file of theDocument display notification "Opened " & thePath end tell end document opened on document saved theDocument tell application "CotEditor" set thePath to file of theDocument display notification "Saved " & thePath end tell end document saved end using terms from |
(Visited 25 times, 1 visits today)