我正在使用以下Applescript来设置.dmg文件夹的设置,图标间距等等:
on run argv
tell application "Finder"
set diskname to item 1 of argv
tell disk diskname
open
set current view of container window to icon view
set toolbar visible of container window to false
set statusbar visible of container window to false
set bounds of container window to {400, 100, 900, 699}
set theViewOptions to the icon view options of container window
set arrangement of theViewOptions to not arranged
set icon size of theViewOptions to 100
set background picture …Run Code Online (Sandbox Code Playgroud)