left menu mob button

New Video on YouTube:

Lost Time is never found again. (Benjamin Franklin)


Comments

Danko Josic
(05.06.2020 1:08):

Thank you. Great help.

(Common Formatting of Several Tables)

СЕРГЕЙ
(28.04.2020 20:50):

Это замечательно! Огромное спасибо за скрипт!!!

(Split Text By Paragraphs)

Admin
(25.04.2020 16:41):

Михаил, приветствую! Пример того, как создаются выпадающие списки стилей, можно посмотреть, например, в скрипте: eugenyus.rudtp.ru/ru/applyParStyleWithNextStyle Строки 3-19 - создание массивов, окна и выпадающего списка в этом окне; строка 30 - получение доступа к выбранному пользователем стилю после того, как была нажата кнопка выполнения. Там происходит обращение к абзацным стилям. Чтобы организовать список символьных стилей, нужно просто заменить везде в этих строках paragraph на character.

(Quick formatting)

Only The Necessary Information

(series of articles):

Fit Frame Using the Context Menu

This script for Adobe InDesign allows you, with the help of the mouse right button, to fit the selected frame (or several frames) to these selected objects: page margins, page borders, bleeds, or the baseline of the bottom line of the text (if a text frame is selected). It is much easier than trying to catch the desired edge of the frame with the mouse and dragging it to the desired guide, then doing the same operation with the opposite edge.

Place the script to the "startup scripts" folder and restart InDesign.

If, after copying the script to the specified folder, the program generates an error at startup, read the article "Accessing the script from a localized menu". If the problem persists, use the feedback for help.

Fir frame


If the script does not appear in the menu...>>


Update to the version 1.1 from February 2017

The algorithm for adding to the menu has been redesigned so that embedding now takes place regardless of the version and localization of InDesign. More information on the topic can be found in the article "Localized menu: the adventure continues".


Align all frames of the story

If you want to fit all the frames of the selected story to the margins on all the pages they occupy, set the cursor in this story and use this script below:

var myDoc = app.activeDocument;
var mySel = myDoc.selection[0].parentStory.textContainers;
for (i=0;i<mySel.length;i++){
	var myPage = mySel[i].parentPage;
	var myPB = myPage.bounds;
	var myMar = myPage.marginPreferences;
	if (myPage.side == PageSideOptions.LEFT_HAND){
		var gb = [myMar.top,myMar.right,myMar.bottom,myMar.left];
		}
	else{
		var gb = [myMar.top,myMar.left,myMar.bottom,myMar.right];
		}
	mySel[i].geometricBounds = [myPB[0]+gb[0],myPB[1]+gb[1],myPB[2]-gb[2],myPB[3]-gb[3]];
	try{mySel[i].fit(FitOptions.CONTENT_TO_FRAME);}catch(e){}
	}

dnlbutton

Comments: 2

Juangadz (16.03.2018 7:30) E-mail
Thank you!
Reply
Christian Geiselmann (17.07.2019 16:18) E-mail
Extremely useful! A real time-saver for projects with many pages such as book!
Reply