ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

Need help with optional parameters in aliases

<< < (4/4)

kreatorr:
Just discovered this undocumented feature with the recent release.  It's exactly what i've been looking for. 

Can this be further improved so that once ++ or whatever special character has been activated, the incremental search can kick in for the new parameters, i.e. file browsing mode to allow launching a program with a file as its parameter?

mouser:
Can this be further improved so that once ++ or whatever special character has been activated, the incremental search can kick in for the new parameters, i.e. file browsing mode to allow launching a program with a file as its parameter?
--- End quote ---

can you elaborate?

kreatorr:
Actually, I might be misunderstanding this feature, as it is about adding parameter values when calling up aliases.  I was confusing this with the proposed feature of handling objects and actions as covered in some previous discussions:

https://www.donationcoder.com/forum/index.php?topic=11487.0
https://www.donationcoder.com/forum/index.php?topic=2277.0
https://www.donationcoder.com/forum/index.php?topic=3713.0

This would be a specific use-case where the 'action' is actually an implicit "Launch X, with Y as a parameter" when "X ++ Y" is entered.  For example, I'm trying to launch notepad with a file that is within FARR's search paths.  Ideally, I'd like to be able to type "no" and then have notepad appear on the list, type tab, to complete it, followed by "++".  Typing "myt" will then find a file called mytext.txt in the search paths.  Essentially after typing ++, it starts a new search based on what ever is typed after the "++".  Everything before the "++" is assumed to be a valid launch item (whether it be a path to an executable or an alias), and not included in the new search.  When that file shows up in the search list, type tab again if it's the first item to autocomplete resulting in something that looks like this in the FARR entry box :

C:\WINDOWS\system32\notepad.exe ++ C:\somesearchpath\mytext.txt

Hitting enter should then open notepad with mytext.txt as the parameter. 

Anyway, will look forward to mouser implementing the object -> action feature one day.  For now, being able to to launch items with parameters added on the fly is a good start! :)

mouser:
kreator, you've accurately described the situation -- and you are right that the object-action ideas would be what would let you do what you want if/when those are implemented.

Navigation

[0] Message Index

[*] Previous page

Go to full version