AppleScript名:OLD Style ASでチルダ入りパス展開 |
— Created 2016-05-13 by Christopher Stone
set aPath to "~/Desktop" set aRes to expandTildeInPath(aPath) of me –> "/Users/me/Desktop" on expandTildeInPath(thePath) tell application "System Events" return (POSIX path of (disk item thePath)) end tell end expandTildeInPath |
More from my site
(Visited 86 times, 1 visits today)