How to set Inside and outside margin?
Hi All, How to set Inside and outside margin? thanks in advance, Learner
View ArticleRe: ConvertToButton using script
Hi hurixthanks for reply I want to convert TextFrame to Button.Not to create a button.thisvar myTextFrame = myDocument.buttons.add(myDocument.layers);myTextFrame.geometricBounds = [72, 72, 288, 288];...
View ArticleRe: How to set Inside and outside margin?
Hi, You should use .left and .right property of marginPreferences (for page or for document) if document facingPages == true ==> they were used for inside (left) and outside (right) i.e....
View ArticleRe: Need to avaid placing floats one after one on the same place
Hi, pretty complex question...1. you place them as anchored or as standalone boxes?2. how you detect correct "after the citation" place? Jarek
View ArticleRe: Need to avaid placing floats one after one on the same place
Hi Jarek, 1. standalone boxes2. Getting the pagenumber of the citation and the baseline position of the citation if (pagehight-bottommargin) - baseline of the citation > hight of the image)...
View ArticleRe: Need to avaid placing floats one after one on the same place
Hi, Please clarify the below points: is it a XML workflow or non-xml workflow?How you are capturing tables and figures in to a standalone boxes? Vandy
View ArticleRe: Need to avaid placing floats one after one on the same place
Hi Vandy, It is a xml workflow. Here is the script. function caption(){ this.name = "caption"; this.xpath = "//caption"; this.apply = function(caption,){ with(caption){...
View ArticleRe: Need to avaid placing floats one after one on the same place
one final question, can you tell me the xml structure of figures, tables and citation tags used in the indesign document. Vandy
View ArticleRe: Need to avaid placing floats one after one on the same place
Hi Vandy, Figure : component/body/section/figureFigure caption : component/body/section/figure/caption Citation : component/body/section/p/link
View ArticleHow to find characters those are applied all caps?
Hi All, How to find characters those applied All Caps? ThanksLearner
View ArticleIndesign Scripting: Loop through Layers
I am trying to make a script that will: Loop through all layers of a document. Add the unlocked layers to arrayLoop through this array and paste in place on each layer. I am not sure how to loop...
View ArticleRe: ConvertToButton using script
Hi Bill Have you tried this? #target indesign var myDocument = app.documents.add(); var myDocument = app.documents.item(0); var myPage = myDocument.pages.item(0); var myTextFrame =...
View ArticleRe: ConvertToButton using script
Try the convertToButton button, that works fine. Peter
View ArticleRe: Indesign Scripting: Loop through Layers
One loop is enough: for (i = 0; i < app.activeDocument.layers.length; i++) { app.activeDocument.activeLayer = app.activeDocument.layers[i]); app.pasteInPlace();} Peter
View ArticleRe: How to find characters those are applied all caps?
app.findGrepPreferences = null;app.findGrepPreferences.capitalization = Capitalization.ALL_CAPS;found = app.documents[0].findGrep();
View ArticleRe: Indesign Scripting: Loop through Layers
Hi Peter is right. You have add your condition in this code: for (i = 0; i < app.activeDocument.layers.length; i++) { if(app.activeDocument.layers[i].locked == false) {...
View ArticleRe: How to select text of child element of graphic...
Moved from the general forum to the scripting forum...
View ArticleRe: Indesign Scripting: Loop through Layers
Did you all test your solutions in a Real World Scenario? Theoretically it should work this way (if we neglect that a layer could be invisible, too), but even without the problem of invisible layers...
View ArticleRe: Indesign Scripting: Loop through Layers
Absolutely check for layers being locked and the state of the clipboard preferences. I was just concerned with the loops. Peter
View ArticleHow to write data at the end of doc in reverse order?[CS6-jsx]
I need to move all my spec texts entries at et end of doc. To keep correct reference in all found entries i have to process in reverse orderfor (i = mFound.length-1; i>=0; i--){ ...etc but can't to...
View Article