Hui...
Original geschrieben von ._ut
Ne, das ist es nicht. Für Dokumenten-Icons ist beim Mac OS immer das jeweilige Programm zuständig. Eigentlich müsste das Dokument ein DiskCopy-Icon bekommen (Blatt mit Festplatte). Das ist das Icon, dass DiskCopy für alle Image-Typen bereitstellt.
Im Programm-Bundle (ctrl-Klick auf DiskCopy und dann Paketinhalt anzeigen) gibt es eine xml-Datei Info.plist. Dort sind unter anderem die bekannten Dateitypen eingetragen und das jeweilige Icon zugeteilt.
Du könntest unter "CFBundleDocumentTypes" einen weiteren Eintrag mit "CFBundleTypeExtensions" "bin" anlegen und dann "CFBundleTypeIconFile" "diskcopy-doc.icns" zuteilen.
Das ist mir als 2 Monate erst mac gekauftdoch zu fett. Wenn du lust hast dann kannst du mich ja nochmals unterstützen:
--
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFAppleHelpAnchor</key>
<string>dkCpy001</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeOSTypes</key>
<array>
<string>fold</string>
</array>
</dict>
<dict>
<key>CFBundleTypeOSTypes</key>
<array>
<string>disk</string>
</array>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>ndif</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>NDIF disk image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>dimg</string>
<string>hdro</string>
<string>rohd</string>
<string>hdcm</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>imgpart</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>NDIF disk image segment</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>dseg</string>
</array>
<key>CFBundleTypeRole</key>
<string>None</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>smi</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>self mounting image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>oneb</string>
</array>
<key>CFBundleTypeRole</key>
<string>Shell</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>dmg</string>
<string>udif</string>
<string>img</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>disk image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>devi</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>UDIF raw device image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>devr</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>toast</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>DVD/CD-R master image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>GImg</string>
<string>PImg</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>cdr</string>
<string>dvdr</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>DVD/CD-R master image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>GImg</string>
<string>PImg</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>dmgpart</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>disk image segment</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>devs</string>
</array>
<key>CFBundleTypeRole</key>
<string>None</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>dc42</string>
<string>diskcopy42</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>Disk Copy 4.2 disk image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>dImg</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>dart</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>DART disk image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>DMdf</string>
<string>DMd0</string>
<string>DMd1</string>
<string>DMd2</string>
<string>DMd3</string>
<string>DMd4</string>
<string>DMd5</string>
<string>DMd6</string>
<string>DMd7</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>raw disk image</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>hdrv</string>
<string>DDim</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>PC drive container</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>OPCD</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>iso</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>ISO disk image</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>sparseimage</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>diskcopy-doc.icns</string>
<key>CFBundleTypeName</key>
<string>sparse disk image</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>Disk Copy</string>
<key>CFBundleGetInfoString</key>
<string>Disk Copy 10.2.3, Copyright 2000-2002, Apple Computer, Inc.</string>
<key>CFBundleIconFile</key>
<string>diskcopy.icns</string>
<key>CFBundleIdentifier</key>
<string>com.apple.DiskCopy</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Disk Copy</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>10.2.3</string>
<key>CFBundleSignature</key>
<string>ddsk</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>HTTP disk image</string>
<key>CFBundleURLSchemes</key>
<array>
<string>disk</string>
</array>
<key>LSIsAppleDefaultForScheme</key>
<true/>
</dict>
</array>
<key>CFBundleVersion</key>
<string>55.6</string>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>NSAppleScriptEnabled</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2000-2002, Apple Computer, Inc.</string>
<key>NSMainNibFile</key>
<string>main.nib</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
--
Das isse

Ich weiss, ich weiss, sollte man nicht tun doch bitte zeig mir den Weg zu deiner Lösung ;-) Kannst irgend wie mit #ten makieren die ich dann weg nehme.
Dank im vorraus!
mfg .:.geber.:.