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

Re: Remove unused styles at the book level.

try below code var myFolder = new Folder('E:\\Book\\'); //Folder pathvar files = myFolder.getFiles("*.indb");for(i = 0; i < files.length; i++)    {       var theDocument = app.open(File(files[i]),...

View Article


Image may be NSFW.
Clik here to view.

Break link to Cell and Table Style and keep the style setting

For cell Selection is work (but can't keep the style setting after break the link), but I also want to break the table style, but error For both Break link to cell/table style, I want to keep the style...

View Article


Check continuous Page Number in Document

Hi ALL, Is it possble to check the continuous page number in the active document. Problem is due to using multiple "Number and Sections options" in the F12 pages panel. No error: alert("Pass") if any...

View Article

Re: Check continuous Page Number in Document

check below code main(); function main() {    var doc = app.activeDocument,        i, l, page, j;      pageNumber = 0;      for (i = 0; i<  doc.pages.length; i++) {        page = doc.pages[i];...

View Article

Re: Check continuous Page Number in Document

simplified code below: alert(app.activeDocument.sections.length==1?"Pass":"Fail"); Dirk

View Article


Re: Check continuous Page Number in Document

Unrelated, but I simply have to ask. Why do you think your posted script is relevant to the question?

View Article

Re: Delete character in file names

HI Lau, THanks so much for the great stuff. I'll keep learning from you people for future references. Thanks for the time spent on to make me understand more and better. beer to you.. cheers..

View Article

Export format

Can InDesign documents produced using Adobe Digital Publishing Suite be converted to json or xml formats?

View Article


Image may be NSFW.
Clik here to view.

Re: How do I delete all empty graphics frames from a document?

Thanks myDavey this one works a treat for removing the rectangles.  I would like to remove other shapes as well. How is this possible?

View Article


Re: How do I delete all empty graphics frames from a document?

Your test works great but not sure why I can't get it to delete some empty frames in my document? Some also have fills which is necessary as well. However, on second thoughts I could add the fill after...

View Article

Re: Export format

@Thussego – well, if we consider IDML as some  well ordered XML files inside a file/folder structure of a zip archive we already have one answer, if we export to IDML and un-zip the file. ADPS (Adobe...

View Article

Re: Check continuous Page Number in Document

hi@Jongware in future i keep in mind what u say. Mi_D

View Article

Re: Export format

Thank you Laubender, I am working on a project were I have to migrate magazine content generated using Indesign into a a custom made content management system then into a native mobile application. The...

View Article


Re: How do I delete all empty graphics frames from a document?

Hi MToysI added a little to the script so that it will work on Ovals and Polygons also. [Not TextFrames]You just have to set the values for which of the frame types you want to delete.You can do this...

View Article

Re: Export format

@Thussego – I'm not sure if you ever looked inside an IDML file. "Normally" there is no image data present, only absolute links are set to the original files. I don't know what the customer would like...

View Article


Re: Check continuous Page Number in Document

Apologies, Mi_D -- I see my post landed right under yours, but I pressed "reply" on BEGINNNER_X's post instead! You see the unrelated script in that? It has vritually nothing to do with the question.

View Article

Re: InDesign Script to wait for file to open before continue

Many Thanks that worked fine.However some pages have missing Fonts and therefore the script cannot proceed because there is a modal dialog or alert is active.Is there a way to surpress this in the...

View Article


Re: InDesign Script to wait for file to open before continue

@Mark – you could try setting the userInteractionLevel of the scriptPreference: app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT; Don't forget to reset it at the end...

View Article

Re: Resources for new programmer.

Here are some useful links:Information for beginnersScripting resources

View Article

How to use the script placemultipagePDF with reduction?

In need to use the script placemultipagePDF, but in need this have a reduction 77%

View Article
Browsing all 37788 articles
Browse latest View live


Latest Images

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