For the record, my work is untested but will be tested soon.

What is ScriptHappy?

 * This plugin exports 2 editmethods that other plugins can call
 * themselves. The methods:
 *
 * scriptHappy_Invoke : just execute a command
 * scriptHappy_Capture : execute a command and capture its results,
 *                       inserting them back into the current working
document
 *
 * The command to invoke is contained in the EV_EditMethodCallData's
struct
 * m_pData member variable as a UCS string.
 *
 * This plugin also exports a number of variables to the world before
 * executing the script. These current exported variables are:
 *
 * ABI_SCRIPT_BUILD_ID : the application's build id
 * ABI_SCRIPT_BUILD_VERSION : the application's version
 * ABI_SCRIPT_BUILD_OPTIONS : the application's build options
 * ABI_SCRIPT_BUILD_TARGET : the application's target
 * ABI_SCRIPT_BUILD_COMPILE_TIME : the application's compile time
 * ABI_SCRIPT_BUILD_COMPILE_DATE : the application's compile date
 * ABI_SCRIPT_CURRENT_FILENAME : the current working document's name
 * ABI_SCRIPT_CURRENT_TITLE : the current working document's title
 * ABI_SCRIPT_CURRENT_WORDCOUNT : the current working document's word
count
 * ABI_SCRIPT_CURRENT_PARACOUNT : the current working document's
paragraph count
 * ABI_SCRIPT_CURRENT_CHARCOUNT : the current working document's
character count
 * ABI_SCRIPT_CURRENT_SPACECOUNT : the current working document's space
count
 * ABI_SCRIPT_CURRENT_LINECOUNT : the current working document's line
count
 * ABI_SCRIPT_CURRENT_PAGECOUNT : the current working document's page
count

Dom

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to