pankaj.c Check the existence of textframe with label
May 19, 2010; 04:06
pankaj.c
Check the existence of textframe with label
Hello guys,
What will be the correct syntax to find out the existence of a particular frame on a page?
for (var i=0; i<=myTotalPage-1; i++) { if(myDoc.pages[i].textFrames.itemByName("main")!=1) //Or shall I use the below line //if(myDoc.pages[i].textFrames.itemByName("main")==0)
{ var myPage=myDoc.pages[i]; var myTextFrame = myPage.textFrames.add(); myTextFrame.geometricBounds = myGetBounds(myDoc, myPage); myTextFrame.label="main";
}
===============
-- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/InDesign/Browse/ Manage your subscription: http://www.ListSearch.com/InDesign/
May 19
pankaj.c Re: Check the existence of textframe with label
May 19, 2010; 04:15
pankaj.c
Re: Check the existence of textframe with label
May 19
pankaj.c Re: Check the existence of textframe with label
May 19, 2010; 04:25
pankaj.c
Re: Check the existence of textframe with label
May 19
Peter Kahrel Re: Check the existence of textframe with label
May 19, 2010; 05:18
Peter Kahrel
Re: Check the existence of textframe with label
May 20
pankaj.c Re: Check the existence of textframe with label
May 20, 2010; 01:12
pankaj.c
Re: Check the existence of textframe with label
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!