DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [bug report / feature request ?] dynamic search folder  (Read 11,658 times)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
[bug report / feature request ?] dynamic search folder
« on: March 29, 2010, 05:35 PM »
it is possible to have dynamic search folders by using the following trick :

you set a user variable dynamically (for instance using autohotkey : Run, C:\Program Files\FindAndRunRobot\FindAndRunRobot.exe -launch "setuservar Pixos.projet_www=SomeProject")
[MyVariables]
projet_www = C:\_web\www\SomeProject

Then you use the %uservar.Pixos.projet_www% variable as a search directory like virtual folder name (%PROGRAMFILES%, ...)
Works fine, BUT the variables are randomly refreshed, most of the time they are not.

in the options, the user variables reflects the change everytime, but most of the time FARR searches with the "previously set" folder

@mouser
is this a bug ? or do you have to create a new command line command : go[searchfolders]reload ?

Cheers, Nitrix

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [bug report / feature request ?] dynamic search folder
« Reply #1 on: March 30, 2010, 10:52 AM »
i can make farr re-cache the search directory locations whenever a user variable is set.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
Re: [bug report / feature request ?] dynamic search folder
« Reply #2 on: March 30, 2010, 03:19 PM »
i think that would work  :huh:

or you could add a re-cache command line option

as you prefer ;)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
Re: [bug report / feature request ?] dynamic search folder
« Reply #3 on: April 07, 2010, 06:32 PM »
Hi mouser
any news regarding this issue ?

i'd would love to see a solution coming  :-*

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [bug report / feature request ?] dynamic search folder
« Reply #4 on: April 08, 2010, 12:23 PM »
i'll try to post a new release this weekend with this functionality and a few other bug fixes.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
Re: [bug report / feature request ?] dynamic search folder
« Reply #5 on: April 08, 2010, 12:39 PM »
that would be wonderful !

Thanks mouser  :Thmbsup:

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [bug report / feature request ?] dynamic search folder
« Reply #6 on: April 25, 2010, 11:58 PM »
ok done and will be in next update tonight.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
Re: [bug report / feature request ?] dynamic search folder
« Reply #7 on: April 26, 2010, 08:50 AM »
wonderful !  :-*

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
Re: [bug report / feature request ?] dynamic search folder
« Reply #8 on: April 26, 2010, 03:45 PM »
hey mouser,
just tried the latest beta release 2.87.01

it does not resolve this issue...
maybe that's normal since it does not say so in the release note, when will that be available ?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [bug report / feature request ?] dynamic search folder
« Reply #9 on: April 26, 2010, 03:49 PM »
try using this launch string: recachedirpaths
(in the same context you would call setuservar)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
Re: [bug report / feature request ?] dynamic search folder
« Reply #10 on: April 26, 2010, 04:12 PM »
great mouser ;)

that works !

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [bug report / feature request ?] dynamic search folder
« Reply #11 on: April 26, 2010, 04:21 PM »
:Thmbsup:

thanks for pointing out that i didn't document it.

Original address: https://www.donationcoder.com/forum/index.php?topic=22257.0