Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 344 total)
  • Author
    Posts
  • in reply to: Problem when merging multiple documents #95540
    Ari Singer
    Member

    Why don’t you use the Book feature in InDesign? It will save you all the trouble.

    Ari Singer
    Member

    Thanks for the kind words, Melise.

    in reply to: Apply Multiply Effect and Clipping Path then Group images. #91534
    Ari Singer
    Member

    Hi, 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);		
    		}
    	}
    
    in reply to: Remove TAB From Text #91327
    Ari Singer
    Member

    There are numerous ways to achieve that, but this is what I concocted on the fly:

    Find What: (^.+?)()
    Change To: $1

    Please 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:
    $1

    in reply to: Getting a crossword puzzle into a newspaper layout #91257
    Ari Singer
    Member

    Robert, 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?

    in reply to: Rename all Paragraph styles with specific suffix #91256
    Ari Singer
    Member

    The 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.

    in reply to: Rename all Paragraph styles with specific suffix #91255
    Ari Singer
    Member

    This 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.

    in reply to: Insert text after the 2nd Tab #91175
    Ari Singer
    Member

    Try this:

    Find What: .+?.+?

    Change To: $0yourtext

    Ari Singer
    Member

    Hi Mark. Have you tried downloading the script that I attached (as opposed to copying and pasting the text)?

    in reply to: unnecessary hyphenation #89632
    Ari Singer
    Member

    It’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.

    in reply to: Pruning plugins #89436
    Ari Singer
    Member

    If the file does indeed not rely on any plugins then exporting to IDML should do the trick.

    in reply to: 2 Primary Text Frames on Same Page #89429
    Ari Singer
    Member

    I don’t think that’s possible. Only one text frame can be ‘primary’.

    in reply to: package for output – single pages, from a multi page document #88702
    Ari Singer
    Member

    Hi, Will.

    It’s possible that the quotes is the problem. Download the original script from here: https://drive.google.com/open?id=0B1RRTxzKmM9oWDJMRjBDNUhUZGc

    in reply to: import cross-references from word to indesign #88470
    Ari Singer
    Member

    I 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.

    in reply to: Object Layer Options Scripting #88223
    Ari Singer
    Member

    How are you running the script, from the Scripts panel or from the ESTK?

Viewing 15 posts - 1 through 15 (of 344 total)