Home     Tour     Features     Order     Support     Contact  

Python Script

[Professional and Corporate Editions Only]
You can use Python to generate all or parts of your message. To engage the script, use the Script macro. Below you can find more details:

Language name Python

Distributor: ActiveState Software Inc.

Web site: http://www.activestate.com/

Installation: The distributer provides ActivePython installer that installs both the language interpreter and active scriting engine.

Known issues:

In some situations, non-ascii characters (such as Japanese or Russians) may be treated incorrectly. If you use such characters, test carefully.

Values retrieved from data fields of currency type are treated incorrectly.

If you want variables to persist while the script switches from one recipient to other they must be declared as global.

Sample script

hours = recipient.Hours
if hours.unknown:

worked = 0


worked = hours.value

left = 10 - worked
if left <= 0:



document.write(" reports that you ")
if worked == 0:

document.write(" have not worked on your assignment. ")


document.write("only worked for ")
if worked == 1:

document.write(" one hour. ")


document.write("%(worked)d hours. " % {"worked": worked})

document.write("You need ")
if left == 1:

document.write(" one more hour. ")


document.write("%(left)d more hours. " % {"left": left})

 Home     Tour     Features     Order     Support     Contact  

Copyright © 1995-2014 Northern Software Inc. All Rights Reserved