tell application "Microsoft Word" collapse range text object of selection direction collapse end type backspace selection end tell
tell application "Microsoft Word" delete (end key selection move unit a line extend by selecting) end tellこれをcontrol-K\ckという名前で保存すればOK。何でこんなに苦労しなきゃいけないんだ。楽しいじゃないか。
set memoURL to POSIX file "/yourname@yourhostname.ne.jp:target/directory/" tell application "Emacs" to open memoURLとても簡単。
tell application "Emacs" to open "そのURL"でも動くみたい。