我为我的工作做了一个marco,
我的工作是打开多文件并现在使用它,我使用这个marco一个文件到一个文件我想在emeditor中打开多个文件并模拟使用它我该怎么做?
我的马可是这样的
document.selection.SelectAll();
document.selection.EndOfdocument();
document.selection.Cut();
strFileName= document.Name;
document.selection.EndOfdocument();
document.selection.Text="strFileName" +"\t" + strFileName + "\n";
document.selection.Find("(?<=\x22title\x22:\x22)(.*)(?=\x22,\x22pubdate\x22)",eeFindSelectAll |eeFindReplaceRegExp,0);
str1 = document.selection.text;
document.selection.EndOfdocument();
document.selection.Delete();
//document.selection.text="hello,world\n"
document.selection.text="title:\t"+str1+"\n";
document.selection.Find("\x22page\x22:(\\d+),\x22from\x22:\x22vupload\x22,\x22part\x22:\x22(.*?)\x22",eeFindSelectAll |eeFindReplaceRegExp,0);
document.selection.Copy();
document.selection.EndOfdocument();
document.selection.Paste();