Compare two arrays


hi all/csm,

 

i want find out missing folio pages.

 

 

using loop , push total pages.length 

 

var mytotalpages = 10     //array 1

 

 

using findtext  find out total found items "current page number (^n)" count (i.e., 8)

 

var mytotalfounditems = 8       //array 2

 

 

 

requirement:

 

how can find out missing folio page number.

 

 

please can give solution me.

 

 

thanks

beginner

helllo beginner_x,

 

your request not clear. anyway find below.

 

in previous post still not select choice of "correct answer" or "helpfull answer". everytime posting request.

 

 

var a1 = [1,2,3] var a2 = [1,2,3]  var a1string = a1.tostring() // "1,2,3" var a2string = a2.tostring() // "1,2,3"  if(a1string == a2string) // true 

 

thx,

csm_phil.



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support