Call external script?

Is it possible to call an external script from an event? I know it can call an mls, but I’d like it to call a python script to run certain actions.
If i specify ‘Run Script’ and point it to an external file, it appears to expect an mls as it errors with ‘Error BEGIN expected’

The scripting engine only support the Pascal-like scripts, not any other language.

You can call an external program, e.g. a Python interpreter, with ShellExecute, of course. I don’t think it’s available as an Action yet, but you can easily wrap it into a mAirList script:

begin
  ShellExecute('C:\somewhere\python.exe', 'C:\somescript.py');
end.

First parameter is the name of the executable, second is the command line parameters. Adjuts paths as required.

Windows batch/cmd files can be run with ‘cmd.exe’ and ‘/c filename.cmd’.

Use ShellExecuteHidden if you don’t want the DOS box to appear while the process runs.

That does the job perfectly. Thank’s Torben!