Forum Replies Created
-
AuthorPosts
-
Ari Singer
MemberWhy don’t you use the Book feature in InDesign? It will save you all the trouble.
March 8, 2017 at 2:39 pm in reply to: package for output – single pages, from a multi page document #92750Ari Singer
MemberThanks for the kind words, Melise.
January 24, 2017 at 10:40 am in reply to: Apply Multiply Effect and Clipping Path then Group images. #91534Ari Singer
MemberHi, Masood. Sorry for the delay. This should work:
app.scriptPreferences.enableRedraw = false; // 'Undo' will undo the entire script app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Image Manipulation Script"); function main(){ // Capture the current selections in array var mySelections = app.selection; for (var i = 0; i < mySelections.length; i++) { var myObject = mySelections[i]; try { myObject.pageItems.item(0).clippingPath.appliedPathName = myObject.pageItems.item(0).clippingPath.photoshopPathNames[0]; myObject.pageItems.item(0).clippingPath.clippingType = ClippingPathType.PHOTOSHOP_PATH; } catch (myError) { // If it can't apply the Photoshop path then it obviously does not have one alert("Selected image does not have a Photoshop path applied") } myObject.fit(FitOptions.contentToFrame); } }Ari Singer
MemberThere are numerous ways to achieve that, but this is what I concocted on the fly:
Find What:
(^.+?)()
Change To:$1Please note that this will delete the tab but not put in a space in its place. If you want to add a space use this in the Change To field:
$1Ari Singer
MemberRobert, just throwing in my two cents here.
What do you mean that you ‘lose the boxes…’? Do you check the ‘Auto-Fit’ checkbox before scailng?
Ari Singer
MemberThe following simple script assumes that all the styles are paragraph styles and that it is spelled correctly.
var allParaStyles = app.activeDocument.allParagraphStyles; changeName("body text 60", "body text 70"); changeName("Bold 6055", "Bold 7055"); changeName("Heading", "Heading 70"); changeName("Title", "Title 70"); function changeName(oldName, newName) { for (var i = 2; i < allParaStyles.length; i++) { var curStyle = allParaStyles[i]; var curName = curStyle.name; if (curName == oldName) { curStyle.name = newName; break; } } }You can easily change the style names or add more.
Ari Singer
MemberThis can easily be done. But please provide me with the exact names of the paragraph styles (including the correct capitalization and spaces). And then its respective names to be changed to.
Ari Singer
MemberTry this:
Find What:
.+?.+?Change To:
$0yourtextNovember 21, 2016 at 9:16 am in reply to: package for output – single pages, from a multi page document #89948Ari Singer
MemberHi Mark. Have you tried downloading the script that I attached (as opposed to copying and pasting the text)?
Ari Singer
MemberIt’s probably because of the Paragraph Composer as opposed to the Single Line Composer. The Paragraph Composer tries to even out all lines of the paragraph.
Ari Singer
MemberIf the file does indeed not rely on any plugins then exporting to IDML should do the trick.
Ari Singer
MemberI don’t think that’s possible. Only one text frame can be ‘primary’.
September 28, 2016 at 10:48 am in reply to: package for output – single pages, from a multi page document #88702Ari Singer
MemberHi, Will.
It’s possible that the quotes is the problem. Download the original script from here: https://drive.google.com/open?id=0B1RRTxzKmM9oWDJMRjBDNUhUZGc
Ari Singer
MemberI don’t use cross references very often so I’m a bit unfamiliar but I wonder if this is also happens when you turn on the All Information option in the Clipboard Handling section of the InDesign preferences.
Ari Singer
MemberHow are you running the script, from the Scripts panel or from the ESTK?
-
AuthorPosts
