【发布时间】:2013-11-24 09:20:47
【问题描述】:
我创建了一个对我非常有帮助的 AppleScript,我希望是否可以自动更改文件夹图标。
这个脚本很简单,创建一个文件夹,然后在同一个文件夹中创建一个空文本文件。
这是脚本:
tell application "Finder"
set newfolder to make new folder with properties {name:My Folder}
make new file at newfolder with properties {name:"read_me.txt"}
end tell
是否可以自动更改文件夹图标?
(当然,我的自定义文件夹图标 (.icns) 与脚本位于同一文件夹中)
【问题讨论】:
标签: applescript