我正在尝试显示我选择的文件的扩展名。我究竟做错了什么?
set theFile to (choose file with prompt "Select a file to transfer:")
set ext to name extension of theFile
display dialog ext as text
我正在尝试显示我选择的文件的扩展名。我究竟做错了什么?
set theFile to (choose file with prompt "Select a file to transfer:")
set ext to name extension of theFile
display dialog ext as text