ドロップレットでファイルを新規タブで開く
property CR : ASCII character of 13 property ESC : ASCII character of 27 on open theList set thePath to POSIX path of (item 1 of theList as string) --display dialog thePath tell application "Vim" to activate tell application "System Events" keystroke ESC & ":tabnew " & thePath & CR end tell end open