Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Browsing all 37788 articles
Browse latest View live

How to set Inside and outside margin?

Hi All, How to set Inside and outside margin? thanks in advance, Learner

View Article


Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 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 Article


How to find characters those are applied all caps?

Hi All, How to find characters those applied All Caps? ThanksLearner

View Article

Indesign 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 Article

Re: 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 Article

Re: ConvertToButton using script

Try the convertToButton button, that works fine. Peter

View Article


Re: 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 Article

Re: How to find characters those are applied all caps?

app.findGrepPreferences = null;app.findGrepPreferences.capitalization = Capitalization.ALL_CAPS;found = app.documents[0].findGrep();

View Article


Re: 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 Article

Re: How to select text of child element of graphic...

Moved from the general forum to the scripting forum...

View Article


Re: 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 Article

Re: 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 Article

How 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
Browsing all 37788 articles
Browse latest View live


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