Making A Testing Script

Parent Previous Next

Making A Testing Script


Make a Script as a general test script.


You can alter it, save it,  and simply use its Alt short cut keys to run it each time you have made a saved change.



//TeXworksScript

//Title: Experimental TW

//Description: Exploration of TW objects

//Author: Paul A. Norman

//Version: 0.1

//Date: 2010-11-04

//Script-Type: standalone

//Context: TeXDocument

//Shortcut: Alt+T, Alt+W


// example


var mYchildrenRegion = TW.target.childrenRegion;

var howMany = mYchildrenRegion.numRects;

TW.information(null, "childrenRegion Rectangles", howMany);


null;

Created with the Personal Edition of HelpNDoc: Free iPhone documentation generator