over 10 years ago
Add following line of code in your Plist file to open CSV and PDF file in your application. Please note that UTTypeIdentifier should be unique.
<key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>US Presidents File</string> <key>CFBundleTypeRole</key> <string>Viewer</string> <key>LSHandlerRank</key> <string>Owner</string> <key>LSItemContentTypes</key> <array> <string>Damian-sss.${PRODUCT_NAME:rfc1034identifier}</string> <string>Damian-s.${PRODUCT_NAME:rfc1034identifier}</string> </array> </dict> </array> <key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeIdentifier</key> <string>Damian-sss.${PRODUCT_NAME:rfc1034identifier}</string> <key>UTTypeDescription</key> <string>US Presidents File</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <string>pdf</string> <key>public.mime-type</key> <string>application/uspresidents</string> </dict> </dict> <dict> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeIdentifier</key> <string>Damian-s.${PRODUCT_NAME:rfc1034identifier}</string> <key>UTTypeDescription</key> <string>US Presidents File</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <string>csv</string> <key>public.mime-type</key> <string>application/uspresidents</string> </dict> </dict> </array>
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)