QUESTION:
Can I use Python to create plugin monitor script?
RESOLUTION:
Yes, you can run basic Python scripts. They run natively for GNU/Linux but if you run it in Windows you have to run it through a wrapper batch file.
Here is the example code:
@echo off
rem This will create the drive, path and filename variable (e.g "C:\Program Files (x86)\Traverse\plugin\monitors\filecheck\isfile.py")
SET script=%~d0%~p0%~n0.py
rem We run the script
c:\Python27\python.exe "%script%" %* 2> c:\users\public\dump
Replace 'isfile.py' for the right script name.
Attached the same example code.
APPLIES TO:
All versions of Traverse
REFERENCE:
For more information about custom plugin please review
TCP connections plugin monitor