如何配置 EditPlus 用户工具(首选项对话框)以执行简单地将“Hello World”字符串粘贴到打开文件的 vbs 脚本?我使用editPlus 3.30/
问问题
1503 次
1 回答
0
EditPlus text editor: How to create a script that will paste a string. The script can serve as a user toolbar item to paste custom code snippets.
Configure the Preference/Tools dialog like this:
Command:
Cscript.exe "$(AppDir)\filters\Pastetext.js"
Argument: //NoLogo $(CurRow)
leave initial directory blank
Action:
Run as text (Insert)
Save Option: Select "Current file"
Save the following line as Pastetext.js in the appropriate directory
`WScript.echo("Hello World");`
The string will print where your cursor is in an open document.
于 2011-05-17T06:12:15.480 回答