Editplus Tips

How to copy file path of current open file using shortcut key

    write following script and save as copy.vbs

    strCopy = Wscript.Arguments(0)
    Set objIE = CreateObject("InternetExplorer.Application")
    objIE.Navigate("about:blank")
    objIE.document.parentwindow.clipboardData.SetData "text", strCopy
    objIE.Quit

    Add following in User Tools
        Menu Text:  copy-filepath
        Command:    cscript //Nologo [fully-qualified-path]\copy.vbs
        Argument:   "$(FilePath)"

        Check Close window on exit

DOS (Current Location)

    Menu Text:  CMD
    Command:    cmd.exe
    Argument:   "$(FileDir)"

Explorer (Current Location)

    Menu Text:  Explorer
    Command:    %SYSTEMROOT%\explorer.exe /e,/root,\local disk,
    Argument:   "$(FileDir)"

    Check "Close window on exit"

Validate XML

    Download validate-xmlvbs.txt script and save as validate-xml.vbs

    Menu Text:  Validate XML
    Command:    cscript //Nologo [fully-qualified-path]\validate-xml.vbs
    Argument:   "$(FilePath)"

    Check "Capture output"
Advertisements