I've tried various combinations of customisation but I haven't found the right one yet.
When you have time please could you look at this simple example and advise what I should be doing differently. As I am very new to Python, perhaps there are better ways to read input arguments. If there is a way of doing this without the .bat file so much the better.
The Windows .bat file contains
"C:\Program Files\pythonv27\python.exe" "C:\pytest.py" %1
where %1 represents the file currently selected in Windows Explorer.
The Python prog (C:\pytest.py) contains:
file_name = sys.argv
print '\nYou selected:', file_name
As you see I have put a 'pause' at the end of both pieces.
I have tried customising the plugin in 2 ways as seen in the last 2 items in the screencap. Neither of them appear to do anything.
Any advice welcome.