EAL Home
PU Library
Main Catalog
Contact Us

普林斯頓大學葛思德東亞圖書館 ・ プリンストン大学東アジア図書館 ・ 프린스턴 대학교 동아시아 도서관

OCLC Connexion Pinyin Conversion Macro

(Version 1.3.1, last updated 2013-09-11)

(Version 1.0.0, last updated 2011-05-03)

Version History

(Requires Apple QuickTime to play)

Creative Commons License OCLC Connexion Pinyin Converter Macro by Princeton University Library is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

The macro contains a dictionary of Chinese characters and phrases based on three sources:

For any other questions or feedback on the program itself, please use our request form and set the request type to "Website Feedback".

Functionality

It is still important to proofread the results after conversion! Small manual adjustments may still be needed. The macro cannot always determine when special formatting is needed. For example:

Extra Macros for Manual Adjustments

Installation Instructions

  1. Close OCLC Connexion Client if it is open.
  2. Download the file Pinyin.mbk. Save it in your OCLC Macro directory, which is usually "C:\Program Files\OCLC\Connexion\Program\Macros". If you have already installed a previous version of the file, simply replace it with the new one.
  3. Open OCLC Connexion Client. Open the "Tools" menu and select "Macros > Manage...". In the list of macro books, there should be one called "Pinyin" containing a macro "Hanzi2Pinyin". After confirming this, click "OK".
  4. To add the macro to the toolbar:
    1. Select "Tools > User Tools > Assign...". At the top of the screen, click "Macros". In the list box on the left side of the window, select "Pinyin!Hanzi2Pinyin".
    2. Under the "Select New User Tool" menu, select a tool that is not yet assigned to another function. Make note of the tool number, then click "Assign Tool", and then "OK".
    3. Select "Tools > Toolbar Editor...". Scroll down to "ToolsUserToolsX", where X is the tool number that you just assigned to the macro. Drag the icon to the desired location on the toolbar.
  5. To assign a keyboard shortcut:
    1. Select "Tools > Keymaps...". In the "Select Commands for Category" box at the top of the window, select "Macros". Double-click "Pinyin", then click "Hanzi2Pinyin".
    2. Click in "Press New Shortcut Key" and press the keyboard shortcut you would like to assign to this macro (Alt+R is a good choice, as it does not seem to conflict with any other shortcuts).
    3. Make sure that "Shortcut Key Assigned to:" is blank, then click "Assign" and then "OK".
  6. To run the macro, click in the field you would like to convert, then activate the macro, using either the keyboard shortcut or toolbar button.
  7. To install the extra macros, repeat the steps above with the file PinyinExtras.mbk . This will create a macro book called "PinyinExtras" containing the macros "ProperName", "PersonalName", and "ConvertNumbers". A different toolbar button and/or keyboard shortcut should be created for each of these macros. (Alt+P, Alt+S, and Alt+N, respectively, may be good choices).
free counters