Standalone Scripts
// TeXworksScript
// Title: Script Menu Title Here
// Description: This is an example Script
// Author: Your Name here
// Version: 0.1
// Script-Type: standalone
// Context: TeXDocument
// Shortcut: Alt+X, Alt+X
// Title: Script Menu Title Here
This will appear on your Script menu according to the subdirectory that your script is saved into.
// Version - is your own made up number
and has nothing to do with the version of Tw that you are using or intending the Script for.
//Context can be either of:-
// Context: TeXDocument
or
// Context: PDFDocument
TeXDocument is the editor, and PDFDocument is the pdf previewer.
Created with the Personal Edition of HelpNDoc: Free help authoring environment