@@ -3,10 +3,10 @@ on run (volumeName)
33 tell disk (volumeName as string)
44 open
55
6- set theXOrigin to ${windowX }
7- set theYOrigin to ${windowY }
8- set theWidth to ${windowWidth }
9- set theHeight to ${windowHeight }
6+ set theXOrigin to ${info . windowX }
7+ set theYOrigin to ${info . windowY }
8+ set theWidth to ${info . windowWidth }
9+ set theHeight to ${info . windowHeight }
1010
1111 set theBottomRightX to (theXOrigin + theWidth)
1212 set theBottomRightY to (theYOrigin + theHeight)
@@ -23,20 +23,20 @@ on run (volumeName)
2323
2424 set opts to the icon view options of container window
2525 tell opts
26- set icon size to ${iconSize }
27- set text size to ${textSize }
26+ set icon size to ${info . iconSize }
27+ set text size to ${info . textSize }
2828 set arrangement to not arranged
2929 end tell
30- set background picture of opts to file ".background:${background }"
30+ set background picture of opts to file ".background:${info . background }"
3131
3232 -- Positioning
33- set position of item "${file }" to {${fileX }, ${fileY }}
33+ set position of item "${info . file }" to {${info . fileX }, ${info . fileY }}
3434
3535 -- Hiding
36- set the extension hidden of item "${file }" to true
36+ set the extension hidden of item "${info . file }" to true
3737
3838 -- Application
39- set position of item "Applications" to {${appX }, ${appY }}
39+ set position of item "Applications" to {${info . appX }, ${info . appY }}
4040
4141 close
4242 open
0 commit comments