Page 1 of 1

How best to fill all the parameters for a complex, numbered feature?

Posted: 13 Oct 2017 00:07
by Dustydog
I've seen some good examples of it being done, but have I missed a good link or somewhere in help on the best way of doing this?

Exmple: Highend created a temporary search template with all parameters filled. Is there an easy way of getting those parameters so some aren't missed?

I apologize if the answer is sitting somewhere obvious, but I would appreciate some advice.

Re: How best to fill all the parameters for a complex, numbered feature?

Posted: 13 Oct 2017 00:13
by highend
Mh, which feature do you mean exactly?

Re: How best to fill all the parameters for a complex, numbered feature?

Posted: 13 Oct 2017 00:28
by Dustydog
Anything with a lot of parameters - like the above mentioned.

Things like this (a snippet of your code):

Code: Select all

$searchTemplate = <<<>>>
[Find]
Version=3
Mode=2
FullPath=1
Case=0
InclSubs=1
Inverted=0
Fuzzy=0
FollowFolderLinks=0
SelectedLocations=0
WholeWords=0
AutoSync=1
IgnoreDiacritics=0
FuzzIndex=0
TypeFilter=0
AttrFindCheck=16
AttrFindNotCheck=0
Mind0=1
Mind3=1

[Named]
Named=

[LookIn]
LookIn="<curpath>"
>>>;
Or does one just look at the feature and pull out needed parameters?

Re: How best to fill all the parameters for a complex, numbered feature?

Posted: 13 Oct 2017 00:32
by highend
That's not with all parameters filled in, but with the minimal necessary ones.

There are no docs to do that but in that case: Save the template and then
a scripted way to load it and before doing so, modify each setting one by
one to see which option it triggers... In other words: Trial and error.

Re: How best to fill all the parameters for a complex, numbered feature?

Posted: 13 Oct 2017 00:39
by Dustydog
That's what I needed to hear. Thank you for taking the time.