Quantcast
Channel: Adobe Community : Popular Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 23442

Telling Find method NOT to wrap

$
0
0

Hello,

 

I cannot make sense of the parameters to use for the doc.Find() method. I have succesfully created an array of parameters, but it seems impossible to set the param for FS_FindWrap to 0. According to the ExtendScript documentation, this parameter is expected as a "flag" that tells the Find method whether or not to wrap when the end of the document is reached. But as the params array only allows PropVals and there is NO definition of FT_Boolean of FT_Flag or something similar, I tried to use FT_Integer and assign the value 0 to it. The point is that this value is simply refused. It does NOT get set and the resulting ival of the parameter shows "ssval does not have a value".

 

I REALLY need this parameter and I need the Find() method to do what it is supposed to do, but FM is making it impossible. Is this a bug or am I doing something wrong here ?

 

Help !!!

 

Jang


Viewing all articles
Browse latest Browse all 23442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>