Explain setup find parameters.
Hi,
I didn't understand the following code in extendscript for framemaker. what is the purpose of findParams[0] and findParams[1]. And why we have to choose findParams[0].propIdent.num = Constants.FS_FindText; and findParams[1].propIdent.num = Constants.FS_FindCustomizationFlags; Difference between findParams[0] and findParams[1]. Please explain this individual code.
var findParams=new PropVals ();
findParams = AllocatePropVals(2);
findParams[0].propIdent.num = Constants.FS_FindText;
findParams[0].propVal.valType = Constants.FT_String;
findParams[0].propVal.sval = searchString;
findParams[1].propIdent.num = Constants.FS_FindCustomizationFlags;
findParams[1].propVal.valType = Constants.FT_Integer;
findParams[1].propVal.ival = Constants.FF_FIND_USE_WILDCARDS;
findParams[1].propVal.ival =16;
Thank you.
