{"id":4057,"date":"2012-06-22T00:00:41","date_gmt":"2012-06-22T07:00:41","guid":{"rendered":"http:\/\/www.rorohiko.com\/wordpress\/?page_id=4057"},"modified":"2024-07-02T19:39:44","modified_gmt":"2024-07-03T02:39:44","slug":"sizelabels","status":"publish","type":"page","link":"https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/","title":{"rendered":"SizeLabels for InDesign"},"content":{"rendered":"<h2>What is <em>SizeLabels<\/em>?<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"\/images\/SizeLabels.png\" alt=\"SizeLabels Logo\" width=\"192\" height=\"192\" \/><\/p>\n<p><em>SizeLabels<\/em> is a script for Adobe InDesign that adds a small label frame next to each frame in your document, displaying the size of the associated frame. It&#8217;s been tested with InDesign 2023 and above.<\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=PEJnxxF0JnA\" target=\"_blank\" rel=\"noopener\">Watch a YouTube demo<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6143 size-large\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.13.55\u202fAM-788x1024.png\" alt=\"\" width=\"640\" height=\"832\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.13.55\u202fAM-788x1024.png 788w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.13.55\u202fAM-231x300.png 231w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.13.55\u202fAM-768x998.png 768w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.13.55\u202fAM-1182x1536.png 1182w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.13.55\u202fAM.png 1358w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<h2>Installing <em>SizeLabels<\/em><\/h2>\n<ol>\n<li><strong>Download <em>PluginInstaller<\/em><\/strong>.<br \/>\nIf you&#8217;ve not done this before, download and install the free <em>PluginInstaller <\/em>from <a href=\"https:\/\/PluginInstaller.com\" target=\"_blank\" rel=\"noopener\">PluginInstaller.com<\/a>. Make sure you have build #558 or higher installed (the build number is shown in the lower right-hand corner of the PluginInstaller windows).<\/li>\n<li><strong>Create an Account<\/strong>.<br \/>\nIf this is your first time using <em>PluginInstaller<\/em>, you&#8217;ll need to create a new account and register it within <em>PluginInstaller<\/em>. Make sure to click the confirmation link in the registration email!<\/li>\n<li><strong>Add a <em>SizeLabels<\/em> Bookmark<\/strong>.<br \/>\nAdd a bookmark for <em>SizeLabels<\/em> into <em>PluginInstaller<\/em> by clicking the following link:<a href=\"tightenercatalogentry:https%3A%2F%2Fstore.tgrg.net%2Fproducts%2FSizeLabels.cate\">Add <em>SizeLabels<\/em> Bookmark into <em>PluginInstaller<br \/>\n<\/em><\/a><br \/>\nAlternatively, you can use the <em>Browse the Store for Software<\/em> window in <em>PluginInstaller<\/em> and find the <em>SizeLabels<\/em> bookmark in the <em>Rorohiko Catalog<\/em>.<\/li>\n<li><strong>Download and Install<\/strong>.<br \/>\nOnce the bookmark is listed in the <em>Installing and Ordering<\/em> window, select it and click the <em>Download<\/em> button.<br \/>\nAfter the download, choose your InDesign version from the <em>Install Target<\/em> dropdown menu and click the <em>Install<\/em> button.<br \/>\n<em>SizeLabels<\/em> will appear in the InDesign <em>Scripts<\/em> panel under the <em>User<\/em> section.<\/li>\n<\/ol>\n<h2>Optional &#8216;Pro&#8217; Features Purchase<\/h2>\n<p><em>SizeLabels<\/em> is free to use, but it can be enhanced with &#8216;Pro&#8217; features for a yearly fee of US$4.00 via <em>PluginInstaller<\/em>.<\/p>\n<p>A 30-day trial period for the &#8216;Pro&#8217; features is available upon first installation.<\/p>\n<h2>How to Use <em>SizeLabels<\/em><\/h2>\n<ul>\n<li><strong>Run the Script:<\/strong> After installation, open the Scripts panel (<em>Window<\/em> &gt; <em>Utilities<\/em> &gt; <em>Scripts<\/em>). Double-click <em>SizeLabels.jsx<\/em> to run it. This will add a small text frame showing the width and height of each frame in the document.<\/li>\n<li><strong>Updating Labels:<\/strong> Labels are not live. If you move or resize frames, re-run the script to update the labels.<\/li>\n<li><strong>Removing Labels:<\/strong> Labels are placed on a separate layer named <em>SizeLabels<\/em>. To remove all labels, delete this layer via the Layers panel (<em>Window<\/em> &gt; <em>Layers<\/em>).<\/li>\n<\/ul>\n<h2>Using the Sample File<\/h2>\n<p>The InDesign Scripts panel also includes an entry called <em>Copy Sample File with Documentation to Desktop.jsx<\/em>.<\/p>\n<p>Double-click this to access a sample InDesign file containing a reusable sample configuration.<\/p>\n<p>You can use this file to experiment with <em>SizeLabels<\/em>\u00a0and understand how it works.<\/p>\n<h2>Purchasing<\/h2>\n<p>To retain access to &#8216;Pro&#8217; features after the 30-day trial, pay a $4.00 fee via <em>PluginInstaller<\/em>. The activation lasts for a year.<\/p>\n<p>Go to the <em>Installing and Ordering<\/em> window, select the <em>SizeLabels<\/em> bookmark, and click <em>Purchase<\/em>.<\/p>\n<p>Activation may take some time to process; keep an eye on the <em>Licenses, Activations, and Pending Orders<\/em> window for updates.<\/p>\n<h2>Cookbook<\/h2>\n<p>Suppose you have some very precise specifications for the sizes for the individual frames in your document.<\/p>\n<p>You could work your way through the document frame by frame and verify all the sizes. Or print a proof of the document, and then someone could sit down and verify each printed frame with a ruler to make sure the size is correct. But why not let InDesign do the work?<\/p>\n<p>So here is our document:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6144 size-medium\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.20.30\u202fAM-234x300.png\" alt=\"\" width=\"234\" height=\"300\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.20.30\u202fAM-234x300.png 234w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.20.30\u202fAM-799x1024.png 799w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.20.30\u202fAM-768x985.png 768w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.20.30\u202fAM-1198x1536.png 1198w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.20.30\u202fAM.png 1376w\" sizes=\"auto, (max-width: 234px) 100vw, 234px\" \/><\/p>\n<p style=\"text-align: left;\">I have already installed\u00a0<em>SizeLabels<\/em> on my computer. When I bring up the <em>Scripts<\/em> palette (via the\u00a0<em>Window &#8211; Utilities &#8211; Scripts <\/em>menu):<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6163 size-medium\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-20-at-8.26.54\u202fAM-300x237.png\" alt=\"\" width=\"300\" height=\"237\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-20-at-8.26.54\u202fAM-300x237.png 300w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-20-at-8.26.54\u202fAM.png 758w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p style=\"text-align: left;\">I can see the <em>SizeLabels.jsx<\/em> script sitting on the <em>Scripts<\/em> palette.<\/p>\n<p style=\"text-align: left;\">I now double-click the <em>SizeLabels.jsx<\/em> script on the palette to set things in motion.<\/p>\n<p style=\"text-align: left;\">A few seconds later, my layout looks like this:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6145 size-large\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.23.05\u202fAM-802x1024.png\" alt=\"\" width=\"640\" height=\"817\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.23.05\u202fAM-802x1024.png 802w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.23.05\u202fAM-235x300.png 235w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.23.05\u202fAM-768x981.png 768w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.23.05\u202fAM-1203x1536.png 1203w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.23.05\u202fAM.png 1380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p style=\"text-align: left;\">As you can see, a small text frame has been added in the top left corner of every frame. In the small\u00a0text frame you can see the width and height of the corresponding frame.<\/p>\n<p style=\"text-align: left;\">In the default configuration, the frame size is expressed in inches. If you don&#8217;t want inches &#8211; don&#8217;t despair! I&#8217;ll explain how to configure the script to use another measurement unit later.<\/p>\n<p style=\"text-align: left;\">Note: the size labels are not &#8216;live&#8217;: if you move one or more frames, the associated size labels won&#8217;t auto-adjust or stay attached to their associated frame.<\/p>\n<p style=\"text-align: left;\">Instead, you should double-click the script on the <em>Scripts<\/em> panel again. The script will then re-generate and reposition the labels as needed.<\/p>\n<p style=\"text-align: left;\">In other words: each time you modify the layout you should re-run the script to update the labels.<\/p>\n<p style=\"text-align: left;\">At some point in time you&#8217;ll want to take away those added text frames.<\/p>\n<p style=\"text-align: left;\">Easy: the script has put all these label frames on a separate layer, named <em>SizeLabels. <\/em>To delete all the added labels in one go, simply delete the layer.<\/p>\n<p style=\"text-align: left;\">Bring up the <em>Layers<\/em> panel via the <em>Window &#8211; Layers<\/em> menu:<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6146 size-medium\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.25.36\u202fAM-221x300.png\" alt=\"\" width=\"221\" height=\"300\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.25.36\u202fAM-221x300.png 221w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.25.36\u202fAM-753x1024.png 753w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.25.36\u202fAM-768x1044.png 768w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.25.36\u202fAM.png 1124w\" sizes=\"auto, (max-width: 221px) 100vw, 221px\" \/><\/p>\n<p style=\"text-align: left;\">Select the <em>SizeLabels<\/em> layer, then click the little trash can icon:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6150 size-medium\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.28.41a\u202fAM-300x267.png\" alt=\"\" width=\"300\" height=\"267\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.28.41a\u202fAM-300x267.png 300w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.28.41a\u202fAM.png 740w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p style=\"text-align: left;\">InDesign will show an alert &#8211; proceed by clicking\u00a0<em>OK<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6151 size-medium\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.32.23\u202fAM-300x81.png\" alt=\"\" width=\"300\" height=\"81\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.32.23\u202fAM-300x81.png 300w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.32.23\u202fAM-768x208.png 768w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.32.23\u202fAM.png 996w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p style=\"text-align: left;\">All the size labels will disappear.<\/p>\n<h2 style=\"text-align: left;\">Using a different text style<\/h2>\n<p style=\"text-align: left;\">Changing the text style in the size labels is easy.<\/p>\n<p style=\"text-align: left;\"><em>SizeLabels.jsx<\/em> will try and find a paragraph style\u00a0<em>SizeLabelStyle<\/em> in the document, and when it finds such a style by that name, it will apply it to the text in the size labels as it creates them.<\/p>\n<p style=\"text-align: left;\">If you don&#8217;t have a paragraph style by that name, <em>SizeLabels.jsx<\/em> will use whatever is the default style for your document.<\/p>\n<p style=\"text-align: left;\">Let&#8217;s create a style that makes those labels use <em>Comic Sans, 12 pt<\/em>.<\/p>\n<p style=\"text-align: left;\">Bring up the <em>Paragraph Style<\/em> palette via the <em>Type &#8211; Paragraph Styles<\/em> menu.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6152 size-medium\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.36.04\u202fAM-300x217.png\" alt=\"\" width=\"300\" height=\"217\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.36.04\u202fAM-300x217.png 300w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.36.04\u202fAM-768x555.png 768w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.36.04\u202fAM.png 1022w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p style=\"text-align: left;\">On the <em>Paragraph Style<\/em> panel, you need a style named <em>SizeLabelStyle. <\/em>If you have copied the sample frame from our sample document, that style will already be present. If not, create a new style by that name.<\/p>\n<p style=\"text-align: left;\">The name must be <em>SizeLabelStyle<\/em>. Don&#8217;t add any spaces anywhere in the style name &#8211; it has to be exactly right.<\/p>\n<p style=\"text-align: left;\">In the <em>Basic Character Formats<\/em>, you can adjust the font and size:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6153 size-large\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.52.27\u202fAM-1024x570.png\" alt=\"\" width=\"640\" height=\"356\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.52.27\u202fAM-1024x570.png 1024w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.52.27\u202fAM-300x167.png 300w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.52.27\u202fAM-768x427.png 768w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.52.27\u202fAM-1536x855.png 1536w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.52.27\u202fAM.png 1840w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p style=\"text-align: left;\">You can adjust any style setting you like in this dialog; for example, you could pick a different character color if you wanted, or you could have the text centered instead of left-aligned. Feel free to experiment. Click <em>OK<\/em> when you&#8217;re done.<\/p>\n<p style=\"text-align: left;\">Now run the script, exactly as shown before (i.e. double-click the <em>SizeLabel.jsx<\/em> on the <em>Scripts<\/em> palette).<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6154 size-large\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.54.10\u202fAM-865x1024.png\" alt=\"\" width=\"640\" height=\"758\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.54.10\u202fAM-865x1024.png 865w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.54.10\u202fAM-253x300.png 253w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.54.10\u202fAM-768x910.png 768w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-11.54.10\u202fAM.png 1150w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p style=\"text-align: left;\">And thanks to the power of paragraph styles, once the paragraph style is in place, you can continue to modify the paragraph style <em>SizeLabelStyle\u00a0<\/em>to your liking after you&#8217;ve run the script.<\/p>\n<p style=\"text-align: left;\">All size labels will immediately pick up those changes, without needing to re-run the script.<\/p>\n<h2 style=\"text-align: left;\">Using a different text frame style<\/h2>\n<p>If you wanted to make the size label have a background color, and , say, apply a small text inset, you can do that by means of an object style.<\/p>\n<p>Just like the\u00a0<em>SizeLabelStyle <\/em>paragraph style, the <em>SizeLabels.jsx<\/em> script will also look for an object style by the name\u00a0<em>SizeLabelObjectStyle. <\/em>If that style exists, the script will apply that object style to all the size labels.<\/p>\n<h2 style=\"text-align: left;\">Using different units<\/h2>\n<p>Now, you would prefer centimeters instead of inches? That&#8217;s possible too.<\/p>\n<p>The easiest is to use the sample document that comes with the script.<\/p>\n<p>On your scripts panel, you should see an entry <em>Copy Sample File with Documentation to Desktop.jsx<\/em><\/p>\n<p>Double-click it to open the sample document.<\/p>\n<p>On the pasteboard of that document, you should find are three frames. Two large ones and a small one.<\/p>\n<p>One is a text frame with explanatory text, the second is a frame that lists the configuration settings for the <em>SizeLabels<\/em> script, and the third is a small &#8216;template&#8217; for the <em>SizeLabel<\/em> frames.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6156 size-large\" src=\"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-12.24.21\u202fPM-1-1024x736.png\" alt=\"\" width=\"640\" height=\"460\" srcset=\"https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-12.24.21\u202fPM-1-1024x736.png 1024w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-12.24.21\u202fPM-1-300x216.png 300w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-12.24.21\u202fPM-1-768x552.png 768w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-12.24.21\u202fPM-1-1536x1104.png 1536w, https:\/\/rorohiko.com\/wordpress\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-19-at-12.24.21\u202fPM-1.png 1976w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>The easiest way to set up your own documents, is to simply copy the frame with configuration data as well as the template SizeLabel frame, and paste both of them onto the pasteboard of your own document.<\/p>\n<p>Then tweak the config data, the paragraph style and the object style as desired.<\/p>\n<h2>Configuration<\/h2>\n<p>You can change the behavior of the script by modifying the configuration data in the text frame on the pasteboard.<\/p>\n<h3>INI configuration frame<\/h3>\n<p>The format is pretty self-explanatory; skip over this section if too much info.<\/p>\n<p>The detailed <a href=\"https:\/\/en.wikipedia.org\/wiki\/TL;DR\">TL;DR<\/a> information for the formatting rules:<\/p>\n<p>The text frame is formatted in a format similar to the old-style Windows INI format, with some additional flexibility built-in.<\/p>\n<p>The advantages of this approach is that each document can &#8216;carry&#8217; its own configuration and the configuration is plain for everyone to see, in a human-readable form, rather than being hidden away on some preferences dialog.<\/p>\n<ul>\n<li>The information is spread over multiple paragraphs or lines.<\/li>\n<li>There are two types of relevant lines: <code>[SECTION]<\/code> or <code>name=value<\/code>. Any lines that do not consist of either a name in square brackets or a name, an equal sign and a value are ignored.<\/li>\n<li>The information within the square brackets (the <code>SECTION<\/code>) or information to the left of the equal signs should not be edited (the <code>name<\/code>).<\/li>\n<li>The <code>name<\/code> to the left of the <code>=<\/code> are case-insensitive and only letters <code>a-z<\/code> and digits <code>0-9<\/code> are taken into account. Names like <code>abc<\/code>, <code>a B c<\/code>, or <code>A'b'c<\/code> are all interpreted as the same thing &#8211; <code>abc<\/code><\/li>\n<li>The information to the right of the equal signs can be freely edited<\/li>\n<li>By default, leading and trailing spaces are ignored.\n<pre>someData =some Value\r\nsomeData=\u00a0 \u00a0 \u00a0 \u00a0some Value\r\n      someData      =        some Value<\/pre>\n<p>are all equivalent &#8211; they all mean <code>someData=\"some Value\"<\/code><\/li>\n<li>Quotes can be used to express leading or trailing spaces. Curly quotes are seen as equivalent to regular quotes.\n<pre>someData = \"  some Value  \"\r\nsomeData= \u201c  some Value  \u201d<\/pre>\n<p>both indicate that <code>someData=\"\u00a0 some Value\u00a0 \"<\/code> including the leading and trailing spaces.<\/li>\n<li>Numeric values can have units and the script will auto-convert between units as needed. If the horizontal unit is <code>cm<\/code> and the label frame width is written as <code>1 inch<\/code>, the width will automatically be interpreted as <code>2.54 cm<\/code><\/li>\n<\/ul>\n<h3>Description of the options<\/h3>\n<h4><em>horizontal unit<\/em><\/h4>\n<p>(Standard Feature). This is the unit to be used for the frame width info. If the frame is <code>1\"<\/code> wide, and the horizontal unit is <code>cm<\/code> then the value shown will be <code>2.54<\/code><\/p>\n<h4>vertical unit<\/h4>\n<p>(Standard Feature). This is the unit to be used for the frame height info. If the frame is <code>0.25\"<\/code> wide, and the vertical unit is <code>point<\/code> then the value shown will be <code>18<\/code><\/p>\n<h4>label frame width<\/h4>\n<p>(Standard Feature). The fixed width of each label frame. This value can have a unit. If no unit is present, then the value is assumed to be in <em>horizontal unit<\/em><\/p>\n<h4>label frame height<\/h4>\n<p>(Standard Feature). The fixed height of each label frame. This value can have a unit. If no unit is present, then the value is assumed to be in <em>vertical\u00a0unit<\/em><\/p>\n<h4>dont label frames below width<\/h4>\n<p>(Standard Feature). The minimum width a frame needs to have before it can get a size label. If no unit is present, then the value is assumed to be in <em>horizontal unit<\/em><\/p>\n<h4>dont label frames below height<\/h4>\n<p>(Standard Feature). The minimum height a frame needs to have before it can get a size label. If no unit is present, then the value is assumed to be in <em>vertical unit<\/em><\/p>\n<h4>add image filename to label<\/h4>\n<p>(Standard Feature). A yes\/no value. If this is set to yes, any size label for an image frame will also get the image file name, in addition to the frame size.<\/p>\n<h4>lock layer<\/h4>\n<p>(Pro feature). A yes\/no value. If this is set to <code>yes<\/code>, the <em>SizeLabels<\/em> layer will be locked after running the script.<\/p>\n<p>That way, it helps avoid inadvertent use of this layer. You don&#8217;t want to add items to it, as the layer is a throw-away layer that can be deleted in order to get rid of all size labels. Locking it avoids accidentally placing items on the layer.<\/p>\n<h4>scale<\/h4>\n<p>(Pro feature). A floating point number. All frame sizes are multiplied by this number before being added to the size label. This is useful if the layout is scaled down &#8211; e.g. if the layout is 1\/10th scale, you would set the scale to <code>10<\/code>. A frame that is <code>1\"<\/code> on the page would then be labeled as <code>10\"<\/code>.<\/p>\n<h4>add unit names<\/h4>\n<p>(Pro feature). Append the unit names to the sizes on the size label.<\/p>\n<h4>override horizontal unit name<\/h4>\n<p>(Pro feature). Use this for the horizontal unit name. For example, if you have a layout that is 1\/100 scale and a <code>1 cm<\/code> wide frame represents a <code>1 m<\/code> actual size, you could set <code>horizontal unit<\/code> to <code>cm<\/code> and then also <code>override horizontal unit name<\/code> to <code>m<\/code>. The <code>1 cm<\/code> frame would then be labelled as being <code>1 m<\/code> wide.<\/p>\n<h4>override vertical unit name<\/h4>\n<p>(Pro feature). Use this for the vertical unit name. For example, if you have a layout that is 1\/100 scale and a <code>1 cm<\/code> high frame represents a <code>1 m<\/code> actual size, you could set <code>vertical unit<\/code> to <code>cm<\/code> and then also <code>override vertical unit name<\/code> to <code>m<\/code>. The <code>1 cm<\/code> frame would then be labelled as being <code>1 m<\/code> high.<\/p>\n<h4>prefix horizontal with<\/h4>\n<p>(Pro feature). Add a prefix before the width of the frame. Example: <code>prefix horizontal with = \"W=\"<\/code><\/p>\n<h4>prefix vertical with<\/h4>\n<p>(Pro feature). Add a prefix before the height of the frame. Example: <code>prefix vertical with = \"H=\"<\/code><\/p>\n<h4>label nested frames<\/h4>\n<p>(Pro feature). A yes\/no value. Normally, frames that are nested within larger frames are not labelled. By setting this to <code>yes<\/code> such frames will be labelled.<\/p>\n<h4>omit image frames<\/h4>\n<p>(Pro feature). A yes\/no value. Don&#8217;t label any image frames if this is set to <code>no<\/code>.<\/p>\n<h4>omit text frames<\/h4>\n<p>(Pro feature). A yes\/no value. Don&#8217;t label any text frames if this is set to <code>no<\/code>.<\/p>\n<h4>omit other frames<\/h4>\n<p>(Pro feature). A yes\/no value. Don&#8217;t label any frames that are neither text nor image frame if this is set to <code>no<\/code>.<\/p>\n<h4>ignore frame with script label<\/h4>\n<p>(Standard feature) By default, any frame that carries a script label <code>ignore<\/code> will not be labelled.<br \/>\n(Pro feature) If you want to use a different string instead of <code>ignore<\/code>, you tell <em>SizeLabels<\/em> what that string is &#8211; e.g. <code>ignore frame with script label = nolabel<\/code> will not label any frames that carry a script label <code>nolabel<\/code>.<\/p>\n<h4>round to decimals<\/h4>\n<p>(Standard feature) By default, all numerical values are rounded to 2 decimals.<\/p>\n<p>(Pro feature) You can change the rounding by changing this value<\/p>\n<h4>swap width and height<\/h4>\n<p>(Standard feature) By default, the size label contains height, then width.<\/p>\n<p>(Pro feature) Yes\/no value. You can swap things around, and have width, then height.<\/p>\n<h4 class=\"p1\">separator between image name and size<\/h4>\n<p>(Standard feature) By default, the image file name is separated from the width and height by <code>\u00a0-\u00a0<\/code><\/p>\n<p>(Pro feature) You can change the separator string to something else.<\/p>\n<h4 class=\"p1\">separator between width and height<\/h4>\n<p>(Standard feature) By default, the height and width are separated by <code>\u00a0x\u00a0<\/code><\/p>\n<p>(Pro feature) You can change the separator string to something else.<\/p>\n<h4 class=\"p1\">layer name for labels<\/h4>\n<p>(Standard feature) By default, the layer that carries the size labels is called <em>SizeLabels<\/em><\/p>\n<p>(Pro feature) You can change the name of the layer being added. For example, you could run the script, then change some settings and change the layer name, and run the script again to add a second layer.<\/p>\n<h4>apply label style name<\/h4>\n<p>(Standard feature) By default, the paragraph style <code>SizeLabelStyle<\/code>, if present, will be applied to the content of the size labels.<\/p>\n<p>(Pro feature) You can change the name of the style to be applied on the next script run.<\/p>\n<h4>apply label style name<\/h4>\n<p>(Standard feature) By default, the object style <code>SizeLabelObjectStyle<\/code>, if present, will be applied to the size labels.<\/p>\n<p>(Pro feature) You can change the name of the object style to be applied on the next script run.<\/p>\n<h2>Version history<\/h2>\n<p><a id=\"history\" style=\"font-size: 1.8em;\" name=\"history\"><\/a><\/p>\n<p>Version 1.0.9: June 26, 2024<br \/>\n&#8211; Updated to CRDT_ES 0.1.2<\/p>\n<p>Version 1.0.8: June 15, 2024<br \/>\n&#8211; Make action undo-able<\/p>\n<p>Version 1.0.7: June 10, 2024<br \/>\n&#8211; Updated to CRDT_ES 0.1.1<\/p>\n<p>Version 1.0.6: May 30, 2024<br \/>\n&#8211; Updated to CRDT_ES 0.1.0<\/p>\n<p>Version 1.0.5: May 26, 2024<br \/>\n&#8211; Updated to CRDT_ES 0.0.8<\/p>\n<p>Version 1.0.4: April 25, 2024<br \/>\n&#8211; Small bug fixes<\/p>\n<p>Version 1.0.3: March 30, 2024<br \/>\n&#8211; Small bug fixes<\/p>\n<p>Version 1.0.2: March 26, 2024<br \/>\n&#8211; Small bug fixes, first public release of the rewrite<\/p>\n<p>Version 1.0.1: March 20, 2024<br \/>\n&#8211; Rewrote script using <a href=\"https:\/\/www.rorohiko.com\/crdt\">CRDT_ES<\/a><br \/>\n&#8211; Moved configuration into pasteboard frame<br \/>\n&#8211; Added a bunch of new features: custom units, properly handle picas and ciceros&#8230;<\/p>\n<p>Version 0.0.4: July 25th, 2012:<br \/>\n&#8211; Added support for EPS files<\/p>\n<p>Version 0.0.3: July 24th, 2012:<br \/>\n&#8211; Added option to include image file name in labels.<br \/>\n&#8211; Fixed possible conflict with a character style inadvertently overriding the <em>SizeLabelStyle<\/em>.<br \/>\n&#8211; Made label separators configurable (default separators are &#8221; &#8211; &#8221; and &#8221; x &#8220;, e.g. &#8220;MyImage.jpg &#8211; 12.02 x 4.23&#8221;)<\/p>\n<p>Version 0.0.2: June 23rd, 2012:<br \/>\n&#8211; Version 0.0.1 did not handle anchored or inline frames correctly. Now fixed.<\/p>\n<p>Version 0.0.1: June 3rd, 2012:<br \/>\n&#8211; Initial release<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is SizeLabels? SizeLabels is a script for Adobe InDesign that adds a small label frame next to each frame in your document, displaying the size of the associated frame. It&#8217;s been tested with InDesign 2023 and above. Watch a &hellip; <a href=\"https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":143,"featured_media":0,"parent":3455,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-4057","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SizeLabels for InDesign - Rorohiko Workflow Resources<\/title>\n<meta name=\"description\" content=\"What is SizeLabels? SizeLabels is a script for Adobe InDesign that adds a small label frame next to each frame in your document, displaying the size of\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SizeLabels for InDesign - Rorohiko Workflow Resources\" \/>\n<meta property=\"og:description\" content=\"What is SizeLabels? SizeLabels is a script for Adobe InDesign that adds a small label frame next to each frame in your document, displaying the size of\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/\" \/>\n<meta property=\"og:site_name\" content=\"Rorohiko Workflow Resources\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-03T02:39:44+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/otherproducts\\\/sizelabels\\\/\",\"url\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/otherproducts\\\/sizelabels\\\/\",\"name\":\"SizeLabels for InDesign - Rorohiko Workflow Resources\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#website\"},\"datePublished\":\"2012-06-22T07:00:41+00:00\",\"dateModified\":\"2024-07-03T02:39:44+00:00\",\"description\":\"What is SizeLabels? SizeLabels is a script for Adobe InDesign that adds a small label frame next to each frame in your document, displaying the size of\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/otherproducts\\\/sizelabels\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/otherproducts\\\/sizelabels\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/otherproducts\\\/sizelabels\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Other Products\",\"item\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/otherproducts\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"SizeLabels for InDesign\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/\",\"name\":\"Rorohiko Workflow Resources\",\"description\":\"Custom InDesign Development\",\"publisher\":{\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#organization\",\"name\":\"Rorohiko Ltd.\",\"url\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rorohiko.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/roro-logo-3d-v2.png\",\"contentUrl\":\"https:\\\/\\\/www.rorohiko.com\\\/wordpress\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/roro-logo-3d-v2.png\",\"width\":207,\"height\":200,\"caption\":\"Rorohiko Ltd.\"},\"image\":{\"@id\":\"https:\\\/\\\/rorohiko.com\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/zwettemaan\",\"https:\\\/\\\/www.instagram.com\\\/kriscoppieters\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/kristiaan\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SizeLabels for InDesign - Rorohiko Workflow Resources","description":"What is SizeLabels? SizeLabels is a script for Adobe InDesign that adds a small label frame next to each frame in your document, displaying the size of","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/","og_locale":"en_US","og_type":"article","og_title":"SizeLabels for InDesign - Rorohiko Workflow Resources","og_description":"What is SizeLabels? SizeLabels is a script for Adobe InDesign that adds a small label frame next to each frame in your document, displaying the size of","og_url":"https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/","og_site_name":"Rorohiko Workflow Resources","article_modified_time":"2024-07-03T02:39:44+00:00","twitter_misc":{"Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/","url":"https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/","name":"SizeLabels for InDesign - Rorohiko Workflow Resources","isPartOf":{"@id":"https:\/\/rorohiko.com\/wordpress\/#website"},"datePublished":"2012-06-22T07:00:41+00:00","dateModified":"2024-07-03T02:39:44+00:00","description":"What is SizeLabels? SizeLabels is a script for Adobe InDesign that adds a small label frame next to each frame in your document, displaying the size of","breadcrumb":{"@id":"https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rorohiko.com\/wordpress\/otherproducts\/sizelabels\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rorohiko.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Other Products","item":"https:\/\/rorohiko.com\/wordpress\/otherproducts\/"},{"@type":"ListItem","position":3,"name":"SizeLabels for InDesign"}]},{"@type":"WebSite","@id":"https:\/\/rorohiko.com\/wordpress\/#website","url":"https:\/\/rorohiko.com\/wordpress\/","name":"Rorohiko Workflow Resources","description":"Custom InDesign Development","publisher":{"@id":"https:\/\/rorohiko.com\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rorohiko.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/rorohiko.com\/wordpress\/#organization","name":"Rorohiko Ltd.","url":"https:\/\/rorohiko.com\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rorohiko.com\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2018\/03\/roro-logo-3d-v2.png","contentUrl":"https:\/\/www.rorohiko.com\/wordpress\/wp-content\/uploads\/2018\/03\/roro-logo-3d-v2.png","width":207,"height":200,"caption":"Rorohiko Ltd."},"image":{"@id":"https:\/\/rorohiko.com\/wordpress\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/zwettemaan","https:\/\/www.instagram.com\/kriscoppieters\/","https:\/\/www.linkedin.com\/in\/kristiaan"]}]}},"_links":{"self":[{"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/pages\/4057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/users\/143"}],"replies":[{"embeddable":true,"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/comments?post=4057"}],"version-history":[{"count":60,"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/pages\/4057\/revisions"}],"predecessor-version":[{"id":6492,"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/pages\/4057\/revisions\/6492"}],"up":[{"embeddable":true,"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/pages\/3455"}],"wp:attachment":[{"href":"https:\/\/rorohiko.com\/wordpress\/wp-json\/wp\/v2\/media?parent=4057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}