【发布时间】:2013-11-09 01:21:54
【问题描述】:
所以我是 applescript 的新手,我正在尝试制作一个应用程序,该应用程序将在桌面上创建一个具有当前日期和时间名称的新文件夹。每次我运行它时,都会出现错误,并显示“无法将“11/8/13”转换为类型编号。”请帮助并感谢您的意见和回答!
tell application "Finder"
set p to path to desktop
set d to short date string of (current date)
set t to time string of (current date)
set FullDate to d + t
make new folder at p with properties {name:FullDate}
end tell
【问题讨论】:
标签: applescript