jjgod / apn
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
f6a192c
apn /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
AssignPhoneticName.py | ||
| |
README.markdown | ||
| |
pinyin.py |
README.markdown
AssignPhoneticName.py
需求
- Mac OS X 10.5 (or other ScriptingBridge-capable systems)
- Python (Pre-installed in Mac OS X)
使用
关闭 Address Book。
执行
$ python AssignPhoneticName.py
这个命令会给所有包含中文的地址簿项根据 First Name 和 Last Name
分别分配对应的汉语拼音作为 Phonetic First Name 和 Phonetic Last
Name。对于已经分配了 Phonetic Name 的,会跳过,除非使用 -r
参数调用这个脚本。
其他的问题请联系 gzjjgod@gmail.com。
Please use it at your own risk.

