小编jma*_*ard的帖子

为什么我的Applescript会将背景图像添加到.dmg文件夹中,从而导致大小错误?

我正在使用以下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)

macos applescript

4
推荐指数
1
解决办法
2733
查看次数

标签 统计

applescript ×1

macos ×1