zoukankan      html  css  js  c++  java
  • paip.手机电话本备份导入到pc管理attilax总结

    paip.手机电话本备份导入到pc管理attilax总结


    作者Attilax ,  EMAIL:1466519819@qq.com 
    来源:attilax的专栏
    地址:http://blog.csdn.net/attilax


    备份文件是个dat文件,打开一看.格式如下...
    BEGIN:VCARD
    VERSION:2.1
    N:Am;.Oth;;
    FN:Am.Oth
    TEL;CELL;VOICE:13472516355
    END:VCARD
    ...................


    导入这个大vcf文件.
    FOXMAIL 7.1一次只能导一个
    wab.exe 6.0 也是一次只能导一个
     
     最后,编程调用wab,全部导入.se,汉字名称人的都是乱码,一满汉字名称的联系人不多,才10来个..
     
     汉字格式的是中个:
     
    FN;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=E6=9D=8E=E8=B6=85=20
    N;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=E6=9D=8E=E8=B6=85=20
     
     
     最后,使用 飞翔通讯 vcfEncoding.exe   不个vcf专程个一瓦猴vcf兰..走ok兰.
     
    N:李;超 ;;
    FN:李超 
     
    /导入多个小vcf文件.
    在使用wab ,三不能挑选多个vcf导入,使用FOXMAIL 7.1 一次导入多个vcf..走ok兰..




    //编程调用wab导入一个vcf文件中的多个人人(源码) telbook vcf import.ahk


    ;maehu pipei
    SetTitleMatchMode,2
    Loop
    {




    Sleep 2000  ; 等待60秒
    IfWinExist,属性,仅以纯文本方式发送电子邮件,,请输入该联系人的显示名称
    {


    ;MsgBox,ok
    ControlClick , Button7


    }


    IfWinExist,通讯簿 - 主标识
    {


    ControlClick , Button1


    }


    IfWinExist,属性,请输入该联系人的显示名称
    {


    MsgBox,finish
    Break




    }




    }


    //编程重名称vcfEncoding转出来的多个"新_*_456.vcf" 文件.
    ------  vcf Rename.ahk


    ;vcf Rename
    FileAppend ,mmm, *


    FileCopyDir, C:\tel, C:\telx




    Loop,C:\telx\*.vcf


    {
    ;MsgBox,lpp
    FileAppend ,%A_LoopFileFullPath%`n, *
    ;Send ,%A_LoopFileFullPath%
    ; "D:\AutoHotKey 中文版\AutoHotkey.exe" "C:\Documents and Settings\Administrator\桌面\erlang\csdnurlgene.ahk\vcf Rename.ahk"  |more


    FileReadLine, name1, %A_LoopFileFullPath%, 3


    StringReplace, name1, name1,N: ,, All
    StringReplace, name1, name1,; ,, All


    FileReadLine, name2, %A_LoopFileFullPath%, 4
    StringReplace, name2, name2,FN: ,, All


    newname=%name1%___%name2%
    FileAppend ,%newname%`n, *
    newname_fullpath=C:\telx\%newname%.vcf
    FileAppend ,%newname_fullpath%`n, *
    FileMove, %A_LoopFileFullPath% ,%newname_fullpath%
    }




    参考
    PAIP.VCF通讯录的乱码以及导入导出 - attilax的专栏 - 博客频道 - CSDN.NET.htm
  • 相关阅读:
    How to extract msu/msp/msi/exe files from the command line
    Windbg and resources leaks in .NET applications 资源汇总
    [c# 20问] 3.String和string的区别
    [c# 20问] 2.如何转换XML文件
    [c# 20问] 1. 何时使用class与struct
    安装配置BITS上传服务
    The J-Link hardware debugging Eclipse plug-in
    swift material
    SCLButton
    ChatCell
  • 原文地址:https://www.cnblogs.com/attilax/p/15199468.html
Copyright © 2011-2022 走看看