Quickies search for 'setfile'
Found 1 item:
- Putting an image on a disk image's window (Random->General)
[permalink]
To have snazzy disk images that have your logo or picture of your dog appear when you open them, do this:
- run disk copy, make a new blank image. I'm calling mine "thingie"
- copy image file to the mounted fake drive (
logo.jpg
)
- open fake drive, choose Show View Options. Make sure you're just changing the current window, and not Everything.
- Choose "picture", select the
logo.jpg
that's on the thingie drive
- resize your window as appropriate
- run this in the terminal to hide the
logo.jpg
file
/Developer/Tools/SetFile -a V /Volumes/thingie/logo.jpg
- eject thingie and re-mount it
- you should now see your image, and no visible picture file icon
borkware home |
products |
miniblog |
rants |
quickies |
cocoaheads
Advanced Mac OS X Programming book
webmonster@borkware.com