fekker Wrote:Note: it will fail if the .py file does not exist
Does this mean that the context menu does not show up if the .py file does not exist (which is what happens for me), or just that it fails to run when you click the item in the context menu?
I am beginning to think that adding context menu items only works for plugins and not scripts. I would be delighted for someone to prove me wrong, however. If someone can manage to modify the example that I posted earlier so that it works, I would be grateful.