You can utilize the ability of CSE HTML Validator to accept command line arguments by specifying new actions in File Explorer (previously known as Windows Explorer) for files ending in certain extensions, such as "htm" and "html". Then when you right-click on a document in File Explorer (previously known as Windows Explorer), you can select validate (or another function, such as a tool) from the context menu and immediately validate the document without manually launching HTML Validator. You can also do the same for the lowercase tool, uppercase tool, and other tools.
CSE HTML Validator can add file associations so that right-clicking on supported documents brings up a menu that includes a validation option. To add or remove file associations, go to Options->Editor Options and the File Associations page (in the Files section).
The steps to manually add other actions are listed below because you may want to add your own actions. For instance, you may want to add an action that uses the template tool on an HTML document (the steps to do this are given below).
NOTE: The steps may be different depending on what operating system you are using, but the technique is the same.
NOTE: The steps below are for Windows XP. Windows Vista and Windows 7/8 do not support adding actions as described here.
1.Open Windows Explorer.
2.Select Tools->Folder Options.
3.Select the File Types tab. If there is no File Types tab, press Cancel, select your root drive as the selected folder, and go back to step 2.
4.Search the Registered file types for any entries that are for "htm" extensions. If you find one, select it, press the Advanced button, click New, and skip to step 7, otherwise press the New button and go to the next step.
5.Enter "htm" (without the quotes) in the File Extension edit box (or the extension you want to add the action for).
6.Press the OK button, then the Advanced button, then the New button.
7.Enter "Process with Template Tool" (without the quotation marks) in the Action edit box and then press the Browse button. Locate HTML Validator's command line processor executable file (for example, cmdlineprocessor.exe), select it, and click Open.
8.In the Application used to perform action edit box, add a space following the executable's filename and then a "-t" (without the quotes). This is the argument used by HTML Validator to tell it to process the file with the template tool. If you want to validate the file, then you don't have to add anything or you can add "-v" after the executable's filename.
9.Click OK. Click OK again if needed. Click Close.
10.Repeat the procedure for "html" or for other file extensions, if desired.
You may follow a similar procedure for adding menu options that allows you to immediately process an HTML document with the lowercase tool, uppercase tool, or any other tool available through a command line switch. For instance, for the lowercase or uppercase tool, add a -l or -u to the HTML Validator command line when specifying the application used to perform the action, and enter lowercase tool or uppercase tool for the action name. For a more complete list of available commands, see the documentation about command line arguments.