This is what I want:
I'm in a directory that has some subfolders. In the ideal case scenario, I'd like to right click on either one of those folders and send all the files within that subfolder that end with .rpy (so ignoring .py, .jpg, .png etc) to Notepad++ and at the same time pass the -nosession -n%(line)d arguments to Notepad++.
So far I managed to create the filter for .rpy files and a button that calls N++ but I have now I'm stuck... how should I go about it?
Normally you'd just do a search (or switch to Flat View and set a filter; similar result) and then drop the resultant list of files on the other program (or run a button on them or whatever).
(You probably could automate it if it's something you're going to do often, but is it, or is it just a one-off?)
Yes, I assumed I should do something like that but I don't know how to do it automatically. Ideally I don't want to change directories either, it'd be best if I could just put the selected directories in my Favorites and right click on them to extract the .rpys from them and forward them to N++ regardless of what directory I'm currently in.
It is going to be something I'm going to use a few times per day in the next few months so I'd like to avoid manual searching / switching to flat view. I already have the *rpy filters predefined in both Filter field and Filters in case I don't manage to do it through a nice and elegant Context menu solution.
(sorry for double posting) For testing purposes I put together a button (it'd be better if it were in a context menu that I can get when right clicking within the Folder tree) with:
If that is an Opus filter then it won't work as Notepad++.exe won't know anything about Opus filters.
There is no single-line command that will pass an external program a filtered list of files. You could have a button which filters the files first, then selects them all and runs the program (notepad++.exe) on each of them, but that'd involve changing directories.
Doing it without changing directories could be achieved with a bit of VBScript.