So, I absolutely love this project, but I have one problem: While I can pass the filename[s] to a Python function, I can't pass them to the command option. For normal Python code this isn't a big problem; however, compiling code with PyInstaller makes the python option unusable.
With that in mind, I would like it if you could add the ability to do something like this:
foo = menus.FastCommand('Foobar', type='FILES', command="foo ? ?", command_vars = ["FILENAME", "DIR"]
where command_vars is an iterable specifying the context menu-related variables (e.g. the filename or the current working directory) with which to replace the ?s in command.
So, I absolutely love this project, but I have one problem: While I can pass the filename[s] to a Python function, I can't pass them to the
commandoption. For normal Python code this isn't a big problem; however, compiling code with PyInstaller makes thepythonoption unusable.With that in mind, I would like it if you could add the ability to do something like this:
foo = menus.FastCommand('Foobar', type='FILES', command="foo ? ?", command_vars = ["FILENAME", "DIR"]where command_vars is an iterable specifying the context menu-related variables (e.g. the filename or the current working directory) with which to replace the
?s incommand.