Step 1: Creating the script

1. Launch GFI LanGuard Script DebuggerA GFI LanGuard module that allows you to write and debug custom scripts using a VBScript-compatible language. from Start > Programs > GFI LanGuard > GFI LanGuard Script Debugger.

2. Click File > New.

3. Copy and paste the following script in the script debugger:

#PythonSuccessfullCheck.py

"""

See the file <ProductDataDir>\Scripts\lpy.py for details.

"""

def main():

"""Return values:

* 0 - false, failed

* 1 - true, success"""

result = 0

#Your code here...

result = 1

return(result)

4. Save the script to a location of your choice.