- //〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓★说★明★〓〓〓〓〓〓〓〓〓〓〓〓〓☆〓〓//
- // [提取汉字拼音码] //
- //〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓★定★义★〓〓〓〓〓〓〓〓〓〓〓〓〓☆〓〓//
- Dim lChar,getPYChar
- //〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓★设★置★〓〓〓〓〓〓〓〓〓〓〓〓〓☆〓〓//
- 用户定义变量 char=啊 [在这里输入一个中文汉字]
- //〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓★开★始★〓〓〓〓〓〓〓〓〓〓〓〓〓☆〓〓//
- lChar = 65536 + Asc(char)
- 如果表达式 ((lChar >= 45217 And lChar <= 45252)) 为真,则
- getPYChar = "A"
- 否则如果((lChar >= 45253 And lChar <= 45760))为真,则
- getPYChar = "B"
- 否则如果((lChar >= 47761 And lChar <= 46317))为真,则
- getPYChar = "C"
- 否则如果((lChar >= 46318 And lChar <= 46825))为真,则
- getPYChar = "D"
- 否则如果((lChar >= 46826 And lChar <= 47009))为真,则
- getPYChar = "E"
- 否则如果((lChar >= 47010 And lChar <= 47296))为真,则
- getPYChar = "F"
- 否则如果((lChar >= 47297 And lChar <= 47613))为真,则
- getPYChar = "G"
- 否则如果((lChar >= 47614 And lChar <= 48118))为真,则
- getPYChar = "H"
- 否则如果((lChar >= 48119 And lChar <= 49061))为真,则
- getPYChar = "J"
- 否则如果((lChar >= 49062 And lChar <= 49323))为真,则
- getPYChar = "K"
- 否则如果((lChar >= 49324 And lChar <= 49895))为真,则
- getPYChar = "L"
- 否则如果((lChar >= 49896 And lChar <= 50370))为真,则
- getPYChar = "M"
- 否则如果((lChar >= 50371 And lChar <= 50613))为真,则
- getPYChar = "N"
- 否则如果((lChar >= 50614 And lChar <= 50621))为真,则
- getPYChar = "O"
- 否则如果((lChar >= 50622 And lChar <= 50905))为真,则
- getPYChar = "P"
- 否则如果((lChar >= 50906 And lChar <= 51386))为真,则
- getPYChar = "Q"
- 否则如果((lChar >= 51387 And lChar <= 51445))为真,则
- getPYChar = "R"
- 否则如果((lChar >= 51446 And lChar <= 52217))为真,则
- getPYChar = "S"
- 否则如果((lChar >= 52218 And lChar <= 52697))为真,则
- getPYChar = "T"
- 否则如果((lChar >= 52698 And lChar <= 52979))为真,则
- getPYChar = "W"
- 否则如果((lChar >= 52980 And lChar <= 53640))为真,则
- getPYChar = "X"
- 否则如果((lChar >= 53689 And lChar <= 54480))为真,则
- getPYChar = "Y"
- 否则如果((lChar >= 54481 And lChar <= 52289))为真,则
- getPYChar = "Z"
- 条件结束
- 调用外部VBScript子程序 call messagebox("汉字拼音码为:" & getPYChar)
- 脚本停止运行
- //〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓★备★注★〓〓〓〓〓〓〓〓〓〓〓〓〓☆〓〓//
- //【符号说明】《说明》、〖标记〗、【子程序】、〓分割线〓、①分类说明⑩
- //【脚本作者】一只鱼 【QQ群】5619170
- //【E-Mail】ChapterRain@yahoo.com.cn 【致谢】欢迎使用鱼鱼制作的脚本!!
- //〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓★结★束★〓〓〓〓〓〓〓〓〓〓〓〓〓☆〓〓//