|
|
convert WordPerfect directly to RTF
If you are using Tiger or later, you can modify the On My Command to this:
/usr/local/bin/wpd2html __OBJ_PATH__ > ~/.Trash/wpdpreview.html; /usr/bin/textutil -convert rtf ~/.Trash/wpdpreview.html; open -a "TextEdit" ~/.Trash/wpdpreview.rtf N.B.: 1) I installed my custom wpd2html in /usr/local/bin; replace this path with whereever you've installed wpd2html. Just make sure you use the full path. 2) I put the preview files in the trash so I don't have to remember to trash them later. Here's the full command plist: <?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>COMMAND_LIST</key> <array> <dict> <key>ACTIVATION_MODE</key> <string>act_file</string> <key>CATEGORIES</key> <array> <string>Editor</string> </array> <key>COMMAND</key> <array> <string>/usr/local/bin/wpd2html </string> <string>__OBJ_PATH__</string> <string> > ~/.Trash/wpdpreview.html; /usr/bin/textutil -convert rtf ~/.Trash/wpdpreview.html; open -a "TextEdit" ~/.Trash/wpdpreview.rtf</string> </array> <key>EXECUTION_MODE</key> <string>exe_shell_script</string> <key>NAME</key> <string>View WordPerfect as RTF</string> <key>NOTES</key> <string>Requires wpd2html. Submitted by Kristofer Widholm</string> <key>OUTPUT_WINDOW_SETTINGS</key> <dict/> <key>REQUIRED_MAC_OS_MIN_VERSION</key> <string>10.1</string> <key>REQUIRED_OMC_VERSION</key> <string>1.3.1</string> <key>VERSION</key> <integer>1</integer> </dict> </array> <key>VERSION</key> <integer>2</integer> </dict> </plist>
convert WordPerfect directly to RTF
Hey, thanks for posting this. I had come up with more or less the same solution but hadn't posted. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|