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

Re: Insert the line break in end of the all lines in the paragraph

Hi Beginner, When i have run this script in my document so it replaced the one character end of the line with line brack. 

View Article


Re: Insert the line break in end of the all lines in the paragraph

Hi Rohit, I will check and let you know....

View Article


Re: Export panel automatic export button click applescript

Thank you very much Muppet Mark. You are great.Now I can go home and leave exporting running on evening. Yes this might be not greatest way exporting but I can be sure that every elemenet is showing in...

View Article

Re: Insert the line break in end of the all lines in the paragraph

beginner.. you are trying to insert a character, not modify one. so use insertionPointsmyLines[i].insertionPoints[-1].contents = "\n";(ps. again... always end your javascript statements with a ';' it...

View Article

Re: [JS CS6] Is anybody able to get button’s printableInPdf property?

Thank you, Trevor. I did as you suggested. Why did you use this line:_button = app.selection[0].parent;I think it's unnecessary and removed -- the script works the same way. Kas

View Article


Image may be NSFW.
Clik here to view.

Re: [JS CS6] Is anybody able to get button’s printableInPdf property?

Hi Kasyan, Glad it help. I put that line for a good reason but you took it out for a better one! I put it in before the script was finished when it didn't have the line   _button.select() in it. Do the...

View Article

Re: [JS CS6] Is anybody able to get button’s printableInPdf property?

Hey Kasyan! We should have used activeStateIndex and not loop though the states using active. var _button = app.activeDocument.buttons.everyItem().getElements(),      l = _button.length, as,...

View Article

Indesign Javascript and xml structure

Hi to allI am new to program javascript in Indesign, and I am looking for some example on how modify the xml structure inside a document using a javascript script. i.e.if I have a structure like this...

View Article


Image may be NSFW.
Clik here to view.

Re: [JS CS6] Is anybody able to get button’s printableInPdf property?

Hi together!I like to comment the script Kasyan is linking to: "Export button description settings".After seeing into the code, I wonder if the script is really able to catch all buttons in a document....

View Article


Re: Indesign Javascript and xml structure

Download the SDK. There is somewhere within it a folder of sample scripts that show how to manipulate a document's xml structure. Jeff

View Article

Place assets only on First page

Hi Forum, I m wondering, if can i place my Library assets.item(0) only on first page.  Because the below script places the Library assets, when i click a particular page... Instead, when i run the...

View Article

Re: Place assets only on First page

onDocumentText Those are the possibilties. So only a trick would work:Create a empty textframe on destpage and place the asset on its insertionpoints[0].Then set anchored objectsettings to customized...

View Article

basiljs library

hi, some time ago a library is released for indesign named basil.js.It is inspired by processing, a great java dialect for artists (www.processing.org).Here is the website about...

View Article


Maintain cross-reference link when updating text frame contents

I've written a javascript that will parse though every page in my document and update the content in my page titles.  It updates the number scheme in the form x.y.z [title] when I've deleted pages and...

View Article

[basiljs] unlock master page items

If i make a new page then it adds all the items of my master page (duh).However i would like to unlock them so i can use them. I use basiljs (http://basiljs.ch/) for scripting so this is quite...

View Article


Apply script on specific pages only

Hi! I would like to know how to apply some script on specific pages only.I would like to apply it on pages number 4 to 50 on a 50 page project, and so exclude page 1, 2 and 3. Here is my actual script:...

View Article

Re: [basiljs] unlock master page items

hello what you want do is overrides master page items? try this code.it can unlock(overrides) master page items.#includepath "~/Documents/;%USERPROFILE%Documents"; #include "basiljs/bundle/basil.js";...

View Article


Re: Place assets only on First page

hi -hans- thanks very much for your quick response.....will moving the object placed to any page is possible. because i have a little bit confusing on selecting the placed object (if is the grouped...

View Article

Re: Place assets only on First page

hi -hans-  thanks for you brilliant idea... now, i have tried like this...  pg = app.activeDocument.pages.item(0);var myObj = app.libraries[0].assets[0].placeAsset(app.documents[0])[0];...

View Article

working with Smart Text Reflow

Did anyone managed to trigger /wait for smart text reflow using scripting, in a usefull manner?  here is a bit of my code:     //find docType headers and apply keep      app.findTextPreferences =...

View Article
Browsing all 37788 articles
Browse latest View live


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