topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday November 21, 2025, 5:05 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: [1]
1
Find And Run Robot / Re: Change search folders with an alias / plugin?
« Last post by kanaille11 on September 08, 2016, 10:57 AM »
Btw is there some way to log which commands get actually executed from an alias after user variables have been resolved?
2
Find And Run Robot / Re: Change search folders with an alias / plugin?
« Last post by kanaille11 on September 08, 2016, 10:55 AM »
Ok, what I'm actually doing is the following:
I'm a software developer and we have several different branches which are in different directories. Sometimes I have to switch between the branches quite often, but most of the time I am working on a branch for several hours or days.

For this, I have added aliases that let me built project files with FARR. I only want to build from the branch that I'm currently working in - to make switching easy, I now have aliases that change the search folder to the branch I'm working on.

Really cool now, don't have to go into the options dialog all the time.
3
Find And Run Robot / Re: Change search folders with an alias / plugin?
« Last post by kanaille11 on September 08, 2016, 10:45 AM »
Thanks so much for your help and that you don't hesitate to ask  :up:

While I was copying the alias into the forum, I saw my mistake. I thought it should be like this:
d:\Portable\FARR\FindAndRunRobot.exe -launch "setuservar Common.NTGDir=e:\NTG;;;recachedirpaths"

The correct way, though, is to do it like this:
d:\Portable\FARR\FindAndRunRobot.exe -launch "setuservar Common.NTGDir=e:\NTG";;;d:\Portable\FARR\FindAndRunRobot.exe -launch "recachedirpaths"

Now it's working like a charm  :)
4
Find And Run Robot / Re: Change search folders with an alias / plugin?
« Last post by kanaille11 on September 08, 2016, 10:19 AM »
Sorry, didn't mention this in my previous post: I tried it, but that didn't work.
Is there an alternative how I can execute two distinct commands from an alias at once?
5
Find And Run Robot / Re: Change search folders with an alias / plugin?
« Last post by kanaille11 on September 08, 2016, 09:49 AM »
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?
6
Find And Run Robot / Re: Change search folders with an alias / plugin?
« Last post by kanaille11 on September 08, 2016, 08:47 AM »
@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.
7
Find And Run Robot / Change search folders with an alias / plugin?
« Last post by kanaille11 on September 08, 2016, 03:16 AM »
Hallo,
is there a way to change the search folder configuration, for example by an alias or a plugin?

Thanks,
Kanaille
Pages: [1]