Can I use Python to create plugin monitor script?
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:
rem This will create the drive, path and filename variable (e.g "C:\Program Files (x86)\Traverse\plugin\monitors\filecheck\isfile.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.
For more information about custom plugin please review: