This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Jjgod Jiang (author)
Thu Aug 13 00:01:30 -0700 2009
commit 2e8a672b459990c733f600773a2299de6fc42b87
tree 4ff07801a2e53d9879b3d14515a1d2bf7fee0302
parent f6a192cadc2c55c29101f3a889db9ed525e81874
tree 4ff07801a2e53d9879b3d14515a1d2bf7fee0302
parent f6a192cadc2c55c29101f3a889db9ed525e81874
apn /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Jul 24 20:16:32 -0700 2008 | |
| |
AssignPhoneticName.py | Thu Aug 13 00:01:30 -0700 2009 | |
| |
README.markdown | Thu Jul 24 20:28:08 -0700 2008 | |
| |
pinyin.py | Thu Jul 24 22:05:24 -0700 2008 |
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.







