Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Mac OS X (unlike classic Mac OS) doesn't support autorun style behaviour.</p> <p>You can however have a volume (CD, disk image, etc) open when inserted though. Downloadable disk images typically do this, and often have custom background images.</p> <p>e.g. When making an AOL CD, after making my disk image (can be an .ISO, .DMG, etc) I've done something like this after my automated build step:</p> <blockquote> <p>$ hdiutil mount -readwrite /path/to/disk-image.ISO </p> <p>$ bless --folder /Volumes/MyDisc --openfolder /Volumes/MyDisc</p> </blockquote> <p><em>I then configure the window size and location and icon positions appropriately (manually).</em></p> <blockquote> <p>$ /Developer/Tools/SetFile -a V "/Volumes/MyDisc/CD Background Image.png"</p> <p>$ hdiutil eject /Volumes/MyDisc</p> </blockquote> <p>The file "CD Background Image.png" being a graphic on the disk, which I use SetFile to make invisible. I think the command to do this on Mac OS X 10.7+ (if you don't have the developer tools installed) is:</p> <blockquote> <p>chflags hidden "/Volumes/MyDisc/CD Background Image.png"</p> </blockquote> <p>NOTE: If you mount the disk image again before burning, there is a good chance you will lose any configuration done and will need to repeat this process.</p> <p>If you just have one partition on the disk (rather than one for Mac and one for Windows) then you will want to hide Windows only files like "autorun.inf", etc. too.</p> <p>Going beyond that (and slightly off topic):</p> <p>You may want to use something like an AppleScript to launch a browser Window of a specific size. Going beyond that, you might want to consider using something like Mozilla Prism <a href="http://prism.mozillalabs.com/" rel="nofollow">http://prism.mozillalabs.com/</a> for a slick experience for HTML content deployment.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload