I'm trying to create a custom context-menu entry for Windows (7) Explorer that will send ALL selected items ton ONE single command.
I've read about MultiSelectModel
with a Player value in MSDN Doc but this does not seem to work. That's what I've tried:
- under HKEY_CLASSES_ROOT/*/shell created a key "MYVERB"
- (Default) for 'myverb' is 'my verb'
- under "MYVERB" created a key "COMMAND"
- (Default) for 'command' is 'python C:\MyScript.py "%1" "%2" "%3" "%4" "%5"'
This works fine for one item.
But when many items are selected, the script is launched one time for each of them. Instead, I want one only instance to receive all the selected items.
I tried adding a String Value "MultiSelectModel" -> "Player" both under "MYVERB" and "COMMAND" but the behaviour does not change.
Is what I'm trying to do even possible with a script and registry only? What am I doing wrong?