Forum Replies Created
-
AuthorPosts
-
June 27, 2019 at 12:02 am in reply to: Clear Overrides Throughout Document on Particular Object StyleObject #117342
Kai Rübsamen
MemberWhat kind of errror?
Kai Rübsamen
MemberHi Rob,
this whole epub-process can be time consuming, if you don’t know, what is going on. Cause InDesign generates poor CSS, you can fix only minor things and will always have some kind of trouble or you ignore the generated CSS and use your own CSS. While the first one is easier, the second one will produce much better results but you need some knowledge about HTML, CSS and a understanding what is going on in the xml-files of the epub.
You can sent me your files to forum@ruebiarts.de
Kai
Kai Rübsamen
Memberhm, it would be better, if you built a example doc with 5 old linked filed and 5 new ones and describe exactly, what ist the goal. You can sent me your test-doc to forum@ruebiarts.de
Kai Rübsamen
MemberJon, the problem is, that the object modell has changed dramatically between CS6 and CS2 and I assume that no scripter has CS2 on his machine anymore. So there is no way to test this.
Kai Rübsamen
MemberCraig, this needs more clarification!
If I run Peters GREP on your lines, then 19:53 and 20:20 is selected. But at 19:53 these are different persons. In your final result this shouldn’t be removed? So what is the goal? Remove the date-time only, if it is the same person? Is it always the same time or only the same person?
Kai Rübsamen
MemberHi Katherine,
this sounds all a bit weired and will get complicated. E.g. I did in the past some same projects, but since modern laptops have no cd drives anymore, those linking PDFs are not the way to go. As you can imagine, it is always a good idea, to have all interactivity in InDesign already, but things like rollover popups can only simulated with object states and buttons. I’m not sure, if this behaves like rollovers with JS at the moment.
What is cloud-based content management? InDesign has no API for that … infact, this is not true, cause you could third party plugins to link e.g. to google docs or connect InDesign with wordpress. DRM is not very common in europe anymore. We use soft DRM instead of hard DRM. If you want to go with epub, everything will be more complicated, cause of the lack of interactivity and page geometry.
So it seems, that you should inform yourself, what is possible today in 2019 and what cannot be done.
best
KaiKai Rübsamen
MemberHi,
your mentioned script does export a active document to a specified location. It doesn’t honor page ranges.
It seems not possible, to save page ranges in a preset either (same with “view after export”). But you can set those values inside a script. From Adobes examples:
//using the current PDF export settings. var myDocument = app.documents.item(0); with(app.pdfExportPreferences){ //Enter the names of the pages you want to export in the following line. //Note that the page name is not necessarily the index of the page in the //document (e.g., the first page of a document whose page numbering starts //with page 21 will be "21", not 1). pageRange = "1, 3-6, 7, 9-11, 12"; } myDocument.exportFile( ExportFormat.pdfType, File(Folder.desktop + "/ExportPageRangeAsPDF.pdf"), false ); //</fragment>best
KaiKai Rübsamen
MemberCraig, if Masoods grep doesn’t work, please provide a real example instead of “message message” …
Kai Rübsamen
MemberMasood, sadly I’m not familiar with scripting in Illustrator, cause Illustrator has another object modell than InDesign.
Kai Rübsamen
MemberHi Mery,
there are several scripts available in the community. Most of them search for a text with a specific para style applied and move this text to a new textframe, mostly anchored in the paragraph before oder after. And yes, it should be possible to move a text to another location too, if the location can be specified.
Kai
Kai Rübsamen
MemberYou can send me a example to forum@ruebiarts.de. Without seeing the error and a detailed description, what should be your final result, I can’t help you.
Kai Rübsamen
MemberNo, not without seeing a example. So please provide a .idml and some comments, what those few lines should change.
Kai Rübsamen
Member# means a empty cell, buth with ::# the cell isn’t empty. If you add new cells, they are empty. The : is a hidden character for everything, that has no own hidden character in InDesign. This can be a mark, but also a character that comes during an import.
Kai Rübsamen
MemberWhat does extract mean?
app.findGrepPreferences = app.changeGrepPreferences = null; app.findGrepPreferences.properties= { fontFamily: "Helvetica Neue (T1)", fontStyle: "75 Bold", pointSize: 8 }; var res = app.activeDocument.findGrep(); app.findGrepPreferences = app.changeGrepPreferences = null; var nRes = res.length; var listToDisplay = []; for (var i = 0; i < nRes; i++) { listToDisplay.push(res[i].contents); } alert(listToDisplay.join("\r"));Kai Rübsamen
MemberIt is interesting, that someone can do this by hand or with scripting. I like the idea of somewhat “half automatism” ;-)
So, assume you have a single page on the right, then facing pages, e.g. 500. I would do the following:
1. Create a new list for numbers (solves the problem of threading)
2. Create on page 2 and 3 one textframe, insert a return and apply your list numbering (the contents show now 1 and 2)
3. Group those 2 frames and select it4. Run the following lines:
var sel = app.selection[0]; var allSpreads = app.activeDocument.spreads; var n = allSpreads.length; while (n --) { sel.duplicate(allSpreads[n]); }5. Delete the selected group on page 2+3
6. Ungroup the group on page 1 and delete the left frameWhy do I like this idea?
Cause otherwise a script must create a list, create frames, check if left or right handed, insert content … this would take much longer as the above 6 steps. -
AuthorPosts
