left menu mob button

New Video on YouTube:

It's such a shame to waste time. We always think we have so much of it. (Mitch Albom)


Comments

Admin
(12.10.2020 20:18):

Galeb, for example: forum.rudtp.ru/threads/scriptpalette.75192/

(Interface for Typical Operations)

Galeb
(11.10.2020 23:51):

Hi there, just out of curiosity... which analogous scripts on the Web are you referring to? I'm looking for a possibility to make a custom dock/panel where I can add certain Skripts as a button and maybe the most used features also. Appreciate your input on that topic. Best from Croatia, Galeb

(Interface for Typical Operations)

Danko Josic
(05.06.2020 1:08):

Thank you. Great help.

(Common Formatting of Several Tables)

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

Leave a comment:

Name*:
E-mail*:
Comment text*:
Security code*: