applescript export

John DeSoi desoi at pgedit.com
Sun Jun 5 18:36:20 PDT 2005


On Jun 5, 2005, at 9:27 PM, Michael Terry wrote:

> How did you figure out 'NSStringPboardType', etc?


Browsing the Info.plist file in the application package (control-click 
on the program, choose "Show Package Contents"). I have included the 
relevant part below. See NSExportableAs key.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


<?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>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleDocumentTypes</key>
	<array>
		<dict>
			<key>CFBundleTypeExtensions</key>
			<array>
				<string>oo3</string>
				<string>xmloutline</string>
				<string>xml</string>
			</array>
			<key>CFBundleTypeIconFile</key>
			<string>OO3Document.icns</string>
			<key>CFBundleTypeName</key>
			<string>OmniOutliner 3</string>
			<key>CFBundleTypeRole</key>
			<string>Editor</string>
			<key>LSTypeIsPackage</key>
			<true/>
			<key>NSDocumentClass</key>
			<string>OODocument</string>
			<key>NSExportableAs</key>
			<array>
				<string>OOOutlineDocumentType</string>
				<string>Keynote</string>
				<string>OONeatoStringPboardType</string>
				<string>NSStringPboardType</string>
				<string>OOMORETextDocumentType</string>
				<string>OORTFPboardType</string>
				<string>OORTFDPboardType</string>
			</array>
		</dict>
....




More information about the OmniOutliner-Users mailing list