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 ArticleBreak 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 ArticleCheck 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 ArticleRe: 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 ArticleRe: Check continuous Page Number in Document
simplified code below: alert(app.activeDocument.sections.length==1?"Pass":"Fail"); Dirk
View ArticleRe: 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 ArticleRe: 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 ArticleExport format
Can InDesign documents produced using Adobe Digital Publishing Suite be converted to json or xml formats?
View ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: Check continuous Page Number in Document
hi@Jongware in future i keep in mind what u say. Mi_D
View ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: Resources for new programmer.
Here are some useful links:Information for beginnersScripting resources
View ArticleHow to use the script placemultipagePDF with reduction?
In need to use the script placemultipagePDF, but in need this have a reduction 77%
View Article