[EMEDITOR][通用宏][吉里吉里2]从脚本中提取剧本

一般的处理,必要时请自行添加修改

===========================

Copy code

document.selection.Replace("\\[np\\]\\\\","",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("^\\*page[[:print:]]+\\|\\n","\\1\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\[exlink [[:print:]]+\\]([[:print:]]+)\\[endlink\\]\\\\\\n","\\1\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\*link[[:print:]]+\\n","\\1\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\[vo s=[[:print:]]+\\]","",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("^;[[:print:]]*\\n","\\1\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("^\\[name txt=\x22([[:unicode:]]+)\x22\\]","\\1",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("^\\@[[:print:]]+\\n","\\1\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\*[[:print:]]+\\n","\\1\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\n\\n\\n","\\n\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\n\\n\\n","\\n\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\n\\n\\n","\\n\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\n\\n\\n","\\n\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\n\\n\\n","\\n\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\n\\n\\n","\\n\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\n\\n\\n","\\n\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
Sleep(10);
document.selection.Replace("\\n\\n\\n","\\n\\n",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);

[楼 主] | 2008-04-14 10:53
引用 编辑 短信 资料 只看 底端
完整版回复

回忆之风 © 2011 跳到顶端 桌面版 
[author]clowwindy☆funagi[transplanter] 【施工中……】