I wrote an AppleScript to tune the setup of a disk image for distribution of an application (background image, icon view, icon positions etc.). It works well but there is a little quirk:
I have the window open in Finder and call “eject”.
So it should open the Window when the disk image is mounted again. Unfortunately this is not the case.
After the disk image is mounted only the volume icon is shown and no window does open. The rest of the setup is Ok.
I have currently no idea what’s wrong and hope for a helpful clue