Template Option - Run Search at Once

Features wanted...
Post Reply
eurytos
Posts: 200
Joined: 29 Jan 2008 15:53

Template Option - Run Search at Once

Post by eurytos »

I would like to be able to set the option 'Run Search at Once' per template instead of all or nothing. Usually I prefer to run the search at once but I have a couple that I don't.

It doesn't have to be added into the GUI. I would be perfectly happy with an ini tweak :P



edit: this is not a huge deal, but it would save me a couple clicks. If it will take a lot of work and nobody else cares about it then don't waste your time.

admin
Site Admin
Posts: 66305
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Template Option - Run Search at Once

Post by admin »

Puuh, search templates... totally different world (I'm somewhere between scripting and unicode support right now)... :wink: ... this should be discussed thoroughly since it is a very old and time-tested thing. I really don't have the time to go into search templates right now. I guess you will have to wait with this one...

admin
Site Admin
Posts: 66305
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Template Option - Run Search at Once

Post by admin »

eurytos wrote:I would like to be able to set the option 'Run Search at Once' per template instead of all or nothing. Usually I prefer to run the search at once but I have a couple that I don't.
The new loadsearch command is all you need to fulfill your wildest search template dreams. Comes with next upload...
:)

eurytos
Posts: 200
Joined: 29 Jan 2008 15:53

Re: Template Option - Run Search at Once

Post by eurytos »

admin wrote:
eurytos wrote:I would like to be able to set the option 'Run Search at Once' per template instead of all or nothing. Usually I prefer to run the search at once but I have a couple that I don't.
The new loadsearch command is all you need to fulfill your wildest search template dreams. Comes with next upload...
:)

Thanks!

eurytos
Posts: 200
Joined: 29 Jan 2008 15:53

Re: Template Option - Run Search at Once

Post by eurytos »

Just posting this as a follow up....


I created a rough little script to run my template of choice and it works very nice!

here is the code in case anyone wants to modify it. (It is far from fancy so don't expect any miracles)

Code: Select all

// loadsearch <template>[, <options>]
// <options> = r,l,e,x (defaults to rl)
// r = run search at once
// l = load search location
// e = load excluded folders
// x = none of the above
"Friday Backup Check (RUN MONDAY MORNING) : t1"
   // Load Search Location
   loadsearch "Friday Backup Check (RUN MONDAY MORNING)", rl;
"Monday Backup Check (RUN TUESDAY MORNING) : t2"
   // Load Search Location
   loadsearch "Monday Backup Check (RUN TUESDAY MORNING)", rl;
"Tuesday Backup Check (RUN WEDNESDAY MORNING) : t3"
   // Load Search Location
   loadsearch "Tuesday Backup Check (RUN WEDNESDAY MORNING)", rl;	 
"Wednesday Backup Check (RUN THURSDAY MORNING) : t4"
   // Load Search Location
   loadsearch "Wednesday Backup Check (RUN THURSDAY MORNING)", rl;
"Thursday Backup Check (RUN FRIDAY MORNING) : t5"
   // Load Search Location
   loadsearch "Thursday Backup Check (RUN FRIDAY MORNING)", rl;   

Post Reply