Hi, I'm trying to create an NSIS compiled executable that selecting it from the "open with" choices opens the designated file in a specific executable. Basically a sort of launcher similar to the PA.c launcher but without including any code belonging to it. I noticed that the PA.c Template has "FileTypeCommandLine" and "FileTypeCommandLine-extension", is it possible to implement such a thing in a .nsi script?
I explain better
EXAMPLE:
1) I have an audio file in .aac format, I click on it with the right mouse button
2) Using "Open with" I select the executable created with NSIS
3) The executable created with NSIS will open the .aac file in a software present in the same folder as the compiled script
Among the software available on PortableApps you can take "AIMP Portable" as an example.
A few days ago I asked the same thing but without explaining in detail and I have not received a conclusive answer. I asked in the NSIS forum and they didn't reply there either.
Here's some sample code that can be used as a base for getting the filename that is passed to the NSIS compiled script:
Modify to suit your existing code.
Thank you very much! I've been looking for a solution for at least a week.
In fact, I too thought that this could be done through FileFunc.nsh but I didn't know how exactly .