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

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Dustydog
Posts: 321
Joined: 13 Jun 2016 04:19

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

Post 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.

highend
Posts: 13311
Joined: 06 Feb 2011 00:33

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

Post by highend »

Mh, which feature do you mean exactly?
One of my scripts helped you out? Please donate via Paypal

Dustydog
Posts: 321
Joined: 13 Jun 2016 04:19

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

Post 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?

highend
Posts: 13311
Joined: 06 Feb 2011 00:33

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

Post 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.
One of my scripts helped you out? Please donate via Paypal

Dustydog
Posts: 321
Joined: 13 Jun 2016 04:19

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

Post by Dustydog »

That's what I needed to hear. Thank you for taking the time.

Post Reply