DonationCoder.com Software > Find And Run Robot
Change search folders with an alias / plugin?
kanaille11:
Hallo,
is there a way to change the search folder configuration, for example by an alias or a plugin?
Thanks,
Kanaille
nitrix-ud:
you can have dynamic search folder using user variable like so :
%uservar.MyVars.var1%
you can use an alias to launch a script to change the user variables using FARR command-line parameters :
FindAndRunRobot.exe -launch "setuservar MyVars.var1=MyDynamicFolder"
FindAndRunRobot.exe -launch "recachedirpaths"
one pb though, there is a 300-characters limit bug, but i'm confident Mouser will smash it soon :D
kanaille11:
@nitrix: Thanks for the tip, but it doesn't work properly. The user variable is updated correctly, but recaching the directory paths doesn't work. I have to go to the settings dialog and click ok, only then the search dirs are updated.
nitrix-ud:
Does it work if you hide FARR, then open it again ? (without going into the dialog...) if yes...
maybe you could try
FindAndRunRobot.exe -hide
and
FindAndRunRobot.exe -search "sometext" or FindAndRunRobot.exe -show
kanaille11:
Ok it was my failure...when I typed in my alias and confirmed it with enter, FARR showed me the two commands and I quickly hit enter again, so that only the set variable was executed. When I type in the alias again and then choose the second command, it reloads the dirs properly.
Now the question is: how can I make it work so that I only have to type in the alias and both commands will be executed when I press enter?
Navigation
[0] Message Index
[#] Next page
Go to full version