Scripts for InDesign by LFCorullón

Do you know how to install a InDesign Script? See here!

byLFC_apply language: apply the selected language to all textFrames in all pages in the active document, and in all paragraphs and character styles.

byLFC_center on page: center all the selected objects in the the current page. If you have more than one selected object, note that all of them will be overlapped in the page.

byLFC_change content type: two scripts to convert empty textFrames to unassigned content type. The first one converts all textFrames in the active document. The second one, just on selected objects.

byLFC_convert shape: convert selected object(s) to the shape you choose on the dialog window. You can choose between rectangle, rounded rectangle, oval and/or triangle.

byLFC_convert to unassigned type: converts the selected frame in unassigned content type. If it's textFrame and is empty or if it's a graphic content type (without an image inside).

byLFC_count opened docs: returns the number of opened documents in InDesign. If you want to open several number of docs, you'll be able to check if all of them was opened.

byLFC_count selected objects: returns the lenght of current selection. If you need to select several objects (in a chart, for example) you can check if you have all of them selected (or not).

byLFC_decrease 12pt sides: decrease the size of selected objects in 12pt in each side (left and right only) using the center anchor point.

byLFC_export selection: allow you to export the selected object(s) to PDF or JPG. The scripts knows if has text in your selection and asks if you want to convert them into curves/outlines. Very useful.

byLFC_export two different PDFs: allow you to export two different PDF presets directly from one document. Two different PDF files in just one click.

byLFC_flipItem master pages: this script flips all the selected objects, but, if a textFrame exists, they will flip your textFrame again, avoiding your texts to be in the wrong direction.

byLFC_import styles from folder to curDoc: allows you to import all styles (characters, paragraphs, objects, tables and cells) from all files saved into a selected folder to the current document.

byLFC_import what you want: allow you to import what you want from a selected source file to your current doc (paragraph and character styles, object styles, swatches, master pages, table and cells styles).

byLFC_insetSpacing 12pt sides: adds, in all textFrames in your selection, a space of 12 points to the left and right sides.

byLFC_invert selection: if you have a lot of pageItems in your page and have troubles to select some of them (arranged in the back, for example), just select the front objects and run this little script.

byLFC_newDoc selection size: creates a new file based on your entire selection bounds. This script will copy you selection, create a new document and place the copied selection into the center of the new doc.

byLFC_remove empty groups: remove all the empty style groups (folders) that InDesign keeps when you remove all unused styles. Useful for big projects with a lot of styles. Thanks for Colin Flashman.

byLFC_remove styles and swatches: allows you to choose to remove all styles (characters, paragraphs, objects, tables and cells) and swatches preserving formatting of your textFrames.

byLFC_rename styles: allows you to rename your styles using find and change fields. You can also choose to covnert your style names to upper case.

byLFC_resize selection different w and h: resize your selection by choosing a multiplication factor. All operation will be based from the center anchor point. This script will use the different factors to w and h.

byLFC_resize selection same w and h: resize your selected objects by choosing a multiplication factor. All  operation will be based from the center anchor point. This script will use the same factor to w and h.

byLFC_save and close all opened docs: close, in one click, all the opened documents. If one or more of your opened files are not saved, the scripts let you choose where you want to save them.

byLFC_sort styles by name: let you sort all your styles (paragraph, character, object, table and cell styles) by name with just one click. It's my first script. It solved one of my organization disorders (LOL).

byLFC_split story from selected textFrame: split your story based on selected textFrame. Your selected frame will be unlinked from its previous frame. But the links from your selection to the end will be kept.

increase or decrease columns: assigning a shortcut to the script (do it!) you'll be able to increase or decrease the amount of columns in a text frame. If nothing is selected, your page columns will be changed.

Do you need a script and didn't find it here? Contact me!

Buy me a coffee (R$ 5)
Buy me a coffee (R$ 10)
Buy me a coffee (R$ 15)

If you liked the codes I wrote, buy me a coffee! ;)