<?xml version="1.0" encoding="UTF-8"?>
<rename_preset case="none" group="转换" ignoreext="yes" script="yes" type="normal" version="13">
	<from>*</from>
	<to>*</to>
	<script>@script jscript
@include inc_pinyin_dict_withtone.js
@include inc_pinyin_dict_polyphone.js
@include inc_pinyinUtil.js
DOpus.ClearOutput()
//@include 必须放在最前行，否则报错
//拼音首字母字典文件及转换函数 来自 https://github.com/sxei/pinyinjs

function OnGetNewName(getNewNameData)
{
	var str = getNewNameData.newname_stem_m;
	if(!/[\u2E80-\u9FFF]+/.test(str)) return true;
	//var result = pinyinUtil.getFirstLetter(str, true);//拼音首字母
	//pinyinUtil.getPinyin(字符串, 连接符号, 是否带声调)
	var result = pinyinUtil.getPinyin(str, &apos; &apos;, true);
	return result + getNewNameData.newname_ext_m;
}</script>
</rename_preset>
