Forum Replies Created
-
AuthorPosts
-
March 1, 2018 at 9:51 am in reply to: Clear Overrides Throughout Document on Particular Object StyleObject #102042
Kai Rübsamen
MemberHm, I’m working here with CC2015, but I could try my new MacBook where CC2018 is installed ;-) I’m not sure, if this is logic, that you can set a size of something only, when it is visible …
Can you built a litle example? 2-3 pages, one or two big pictures in text with format1 and your generated toc …? Sent me your file with your dummy pics to forum@ruebiarts.de
btw.: Do you know, that you can refresh the toc with a script too and could temporarily increase the frame (as Plan B, if Plan A doesn’t work)
Kai
Kai Rübsamen
MemberNot realy. You can change the height and width in Excel. This gives you a similar result in InDesign. But you cannot type “50 mm” and the result will be 50 mm. There exist various scripts in the InDesign-Universum where you can control der width of columns.
Kai
February 28, 2018 at 10:47 am in reply to: Clear Overrides Throughout Document on Particular Object StyleObject #102032Kai Rübsamen
MemberBruce, a short test shows, that the script works with image frames in overset too. So you have maybe another problem? How do you set the size of your object? Which version of InDesign?
Kai
Kai Rübsamen
MemberBesides of your questions, I tested Loics script and it seems, that the forum software made some typos:
1. resizePer.text.length==0 && k.keyName=="0" should be resizePer.text.length==0 && k.keyName=="0" 2. resizePer.text.length>0; should be resizePer.text.length;
With those 2 modifications, the proceed-button is active, when you enter a value in the field above.
Edit: Hm, I’m not able to copy the typos here, but if you compare the original code, you will see where the problems are …
Kai Rübsamen
MemberTerry, such kind of script must be written for you. If you interested, you can contact me at forum@ruebiarts.de.
Kai
Kai Rübsamen
MemberHm, I have no idea, what the problem is. I use this function, when I tag objects for EPUB. However, it seems, that the tagging get wrong in your situation. Any possibilty to inspect the alt-text in Acrobat and find the difference?
Kai Rübsamen
MemberObject > Objectexportoptions
Kai Rübsamen
MemberIf you deal a lot with changes, Wordsflow will improve your workflow. I can recommend the plugIn.
Kai
Kai Rübsamen
MemberKirsten, this needs a bit more explanation!
Kai Rübsamen
MemberAllthough it seems that outPutFactory can do that, I would go with a custom script, especially if you want multiple outputs at once. The destination folder can be every folder or a custom script can create a new folder in dependence of the INDD-folder.
If you interested, you can contact me directly at forum@ruebiarts.de
Kai
Kai Rübsamen
MemberNo, it updates all TOCs in one document.
Kai Rübsamen
MemberIn such situations it is better to work not with one line, instead move from one object to the next and check if the object is valid and if so, what is the correct name of the property.
// the active document var curDoc = app.activeDocument; // the last created textframe var lastTextFrame = curDoc.textFrames[0]; // a textframe has no property 'clearOverrides', but 'clearObjectStyleOverrides'! lastTextFrame.clearObjectStyleOverrides(OverrideType.ALL);
Kai Rübsamen
MemberIt seems, that you cannot target footer rows directly?! Maybe there is an easier solution, but the following lines are working:
main(); function main() { var allTables = app.activeDocument.stories.everyItem().tables.everyItem().getElements(); for (var i = 0; i < allTables.length; i++) { var curTable = allTables[i]; var numberOfFooterRows = curTable.footerRowCount; var fRows = curTable.rows.itemByRange(-numberOfFooterRows, -1).getElements(); var firstFooterRow = fRows[0]; firstFooterRow.properties = {topEdgeStrokeColor: "CBOC Blue"}; } }Kai
-
AuthorPosts
