ok so this is sort of similar to the work ewemoa did on a putty plugin for farr (see here: https://www.donation...ex.php?topic=16498.0
and i think we can see a general use pattern in what you want, that could be useful in other cases.
in general terms, you want to be able to type a keyword and extra search terms that will search a specific folder and do filtering according to the search terms, and then when a file is chosen/launched, you want to launch some specific program and pass the filename (perhaps manipulated to remove the .ini or other stuff) as an arguement.
it seems to me that is something that could have uses beyond ssh and so might be worth figuring out a general solution to, maybe using a plugin, to keep it clean.
let me give it a little more thought about the most sensible way to do it that would be more generally applicable.
the easiest way to do 99% of what you want is to create a new alias, lets call it sshlaunch
with regex pattern as you say: ^+ssh (.*)
then in the results but something like
"dosearch D:\Documents and Settings\t148594\Datos de programa\SSH\Sessions\ +openinssh"
that should make it that typing ssh blah
will show matching filles in the sessions directory, as you want
and it would add a special modifie "+openinssh" to the search string
then the missing piece is that you need a plugin to look for "+openinssh" and know that that means to open the file using
"C:\Archivos de programa\SSH\ssh.exe" and passing the filename (without file extension) as an arguement.
its that last part that you would still need a plugin for.
now this does bring up an interesting idea, which would be to add something to farr that would let you handle this without a plugin, perhaps by letting the alias specify not just a dosearch but some kind of dolaunch statement. so that the ssh alias would specify how to launch the result after it is triggered..