Sunday, March 21, 2010

AppleScript에서 dialog box로 파일 선택하기

다음과 같이 하면 된다.
set filechosen to choose file
set filename_ to (filechosen as text)
set filename to POSIX path of filename_
display dialog filename

No comments:

Post a Comment