Как в индизайне посмотреть количество знаков в тексте
Перейти к содержимому

Как в индизайне посмотреть количество знаков в тексте

  • автор:

Наш канал на Youtube

Здравствуйте все, кто работает в Индизайне!
Извещаем вас о том, что на youtube.com работает канал «InDesign Мастерская вёрстки». Там уже размещены более 70 видео с полным описанием как работать с программой DoTextOK. Другие интересные темы, касающиеся работы …

Хитрости и секреты, приемы работы, уроки

Особенности новой версии Индизайна

Описание плагинов, информация о плагинах для работы с Adobe InDesign

Готовые к использованию скрипты для Adobe InDesign

Описание языка, приёмов и методов программирования для Adobe InDesign

Подсчёт объема текста в indd- и indb-файлах

Одно недавнее письмо мне стало поводом быстренько написать небольшой скрипт. Он, конечно, не первый в этой теме, и тем не менее. Речь о подсчёте объёма сделанной книги или журнала. Статей полно, подрисуночные подписи, сноски, таблицы, может быть, тексты в привязанных фреймах. Панель «Информация» хороший инструмент, но для многостатейного варианта совершенно не подходит.

Итак, запускаете эту программу, и она обходит все статьи, сноски, таблицы, собирая данные, сколько знаков и абзацев в каждой. Знак — это буква, пробел, перевод строки, т.е. это фактически синоним нажатия на одну из клавиш клавиатуры. Полоса прогрессбара скрасит ожидание вывода результата.

Если какую-то статью надо исключить из рассмотрения, то достаточно сделать в работе служебный слой с именем ‘#’ (имя слоя — один символ #) и переместить на этот слой любой из фреймов этой статьи. При обработке статей, прежде чем получать информацию об объёме, просматриваются все текстовые фреймы текущей статьи, не лежит ли хоть один из них на этом слое. Если лежит, то ни эта статья, ни таблицы и сноски в ней не учитываются. Всё очень просто, тут даже видео не требуется.

Ссылка на скачивание:

Вот собственно и всё, берите этот скрипт в коллекцию своих инструментов, и пусть редактора будут в шоке, какие объемы текста в ваших изданиях.

Просьба помочь с подсчётом объёма работы сперва реализовалась в скрипте, обрабатывающем один файл. Как оказалось, в его первой версии в обработку попадало и всё, что лежало на рабочем столе. Об этой программе было предыдущее сообщение. Но возникшее обсуждение показало, что есть более сложная проблема — подсчёт объема в ‘книге’, или book, т.е. в indb-файле. В индизайне мы можем делать каждую главу книги отдельным файлом, и есть инструмент объединения этих отдельных файлов в одно издание. Он называется «книга», для пользователей это файл с расширением indb, при его открытии на экран выводятся все имена всех файлов, которые можно собрать в одну публикацию. Так вот, как оказалось, пока нет инструмента, позволяющего узнать объем сводного файла, если собрать все файлы indb-коллекции в один файл.

Теперь такой инструмент есть.

Вот ссылка на архив, где в одной папке программа подсчёта объёма открытого файла, а в другой папке программа подсчета объема «книги». В каждой папке два файла, для того, чтобы узнать объём, используйте jsx-файл.

Теперь на dropbox, ну вы понимаете, почему.

Всё, что на рабочем столе и мастер-страницах, в обработку не попадёт.

Подсчёт объема файлов indb-коллекции не многим отличается от обработки одного файла. Но небольшие различия есть.

Первое, должен быть открыт indb-файл, только один. Не должно быть открыто никаких indd-файлов. Программа будет один за другим открывать файлы коллекции, узнавать объем и закрывать их без сохранения. При открытии рядом с именем может появиться звёздочка, но закрытие без сохранения гарантирует, что никаких изменений внесено не будет. Имена стилей и слой исключения из обработки теперь берутся из первого файла.

Два прогресс-бара отображают процесс обработки. Первый по файлам коллекции, второй — по текущему файлу, всё просто. Ну и конечно, есть справка на пиктограмме «CMYK-бабочка», проблем в использовании этих инструментов быть не должно.

Надеюсь, с этими программами подсчёт объёмов файлов проблемой уже не будет.

How to See Word Count in InDesign With Ease

Jack

In many areas, it’s great but if you have a school project which specifies a word count or your manager wants a specific number of words on the design, viewing the word count in InDesign isn’t always easy.

Take Microsoft Word, for example. As this program has been created for writing, where word count is a key piece of information, it’s easy to view the word count.

Since Adobe InDesign is meant for desktop publishing, where word count is typically not important, it’s not something that’s easily accessible.

So, on that note, we’ll show you how to view the word count on an InDesign project.

Basic Way to View Word Count in InDesign

An easy way of checking an InDesign file’s word count is with a built-in feature. Many users don’t realize that this feature is already there.

It’s understandable since it’s not in plain sight, nor is it a feature you’d just stumble across.

Nonetheless, follow these steps to check.

#1 – Launch the Adobe InDesign program and click “File > Open.” Using the window that appears, locate and select the InDesign file you want to check the word count.

#2 – Now that you have the file open, at the top of the window, click “Windows > Info.”

click "Windows > Info."

#3 – A window of information will now appear. You can see specific details of your project, including the word count.

see specific details of your project

While you have the information window on your screen, you can also highlight sections of your text to view their length. Similarly, to check the word count of a text frame, just click on the frame when the information window is open.

There are a few reasons why this is inconvenient. First, the information window takes up valuable screen space – other programs display the word count in small characters at the bottom of the window.

Secondly, it’s just a hassle to navigate your way to find this feature. So, although you can check word count in InDesign without external help, it isn’t ideal.

Alternative Solution to See InDesign Word Count

Adobe InDesign might not be an option for you. Although Adobe is trying to make its software solutions more affordable, it still has a way to go.

So, if the price of Adobe InDesign is your problem, then an alternative like PDFelement might be worth considering.

This program includes plenty of features, just like those you’d find in Adobe InDesign, and it’s easier than it is to check word count in InDesign with PDFelement.

  • After opening or creating a PDF, users can save the file in another format (e.g., HTML, Word, Excel, or PowerPoint).
  • Includes annotation abilities so you can comment on or add notes to a PDF file without making changes.
  • Create new PDFs or edit existing PDF files.
  • It allows you to add a signature area to create contracts and similar documents.
  • Add passwords to your PDF files so only authorized individuals can access them.
  • Add redactions to parts of a PDF file so that you can share it without others being able to see private information.
  • It has an OCR feature that allows you to scan images of documents and convert them to PDF.
  • Available as a limited free trial or as a paid complete version.
  • Very easy to use and has plenty of online guides to make it even easier.

Another common complaint about Adobe programs is that they are difficult to use. PDFelement is the complete opposite.

Even though there is a wide range of features, each is easy to use, and the program itself isn’t overwhelming. In this regard, PDFelement has the upper hand.

Steps for Using PDFelement

Whether or not your file was made with PDFelement, you can use the program to check the word count in InDesign. If you have the InDesign file on your computer, follow the steps below.

#1 – Download and install the free or paid version of PDFelement on your computer.

#2 – Launch PDFelement, and press the “Open File…” button on the main screen.

PDFElement

#3 – An explorer window will pop up on your screen. Using this window, locate the InDesign file you want to view the word count of.

#4 – Select the file and click “Open” to view it on PDFelement.

#5 – Click on “Home” at the top of the window. From the ribbon of saving options, click the Microsoft Word icon and save it.

convert pdf options

#6 – You can now close PDFelement and open the new file using Microsoft Word.

#7 – On Microsoft Word, navigate to the Review tab and click “Word Count.” You will now see how many words there are in the InDesign file.

There are a few more steps involved here. Additionally, you’ll require a copy of Microsoft Word.

That said, if you’re tired of wading through the endless Adobe InDesign settings to check word count in InDesign, this is another way of doing so.

Other Ways of Checking Word Count

You should use the InDesign program to check the file’s word count. Otherwise, you can use the alternative PDFelement if InDesign is too inconvenient.

But if neither of those solutions is satisfying, you can try one of the less preferable methods below.

#1 – Copy the Text to Microsoft Word

Microsoft Word’s word-counting feature is handy and easy to access. You don’t have to go through the same hassle as the previous method if you have the patience to copy the text simply.

Doing this is less favorable if you have a lot of text in the Adobe InDesign file. That aside, here’s what you have to do.

  • Open your publisher file in Adobe InDesign and open a new Word document.
  • Use your cursor to click on, and highlight the text to copy. Press the keyboard shortcut CTRL + C to copy it to your clipboard.
  • Go to the new Word document and press the keyboard shortcut CTRL + V. This will paste the text from InDesign.
  • Repeat steps 2 and 3 until all of the text from InDesign is on the Word document.
  • Once the text is all pasted, on Microsoft Word, click “Review” and select “Word Count.”

As we said, if you have a lot of text or text boxes, this will require some time. Nonetheless, it’ll provide you with an accurate word count in InDesign.

#2 – Use an Online Word Counter

Like the last method, you can paste the text into an online word counter. This is the same as using Microsoft Word but is suitable for those who can’t access Word.

  • Launch Adobe InDesign and open the InDesign file.
  • Open your web browser and search for a free word-counting website.
  • On InDesign, highlight a text block and press CTRL + C. Use CTRL + V to paste this text into the Word counter.
  • Repeat the previous step until all of the text from the file is in the word count.

Each word counter works differently, but typically, they will present you with the word count instantly.

#3 – Estimate the Word Count

This final method is far from ideal. If you’ve ever written an essay for a school with word count limits, then you may be familiar with this process.

If your design includes multiple similarly-sized text boxes, count how many words are in 2 or 3 of them. Use the total word count to calculate an average. Finally, multiply the average by the total number of text boxes.

This isn’t going to get you the exact word count, but if you aren’t able to use any other methods from this article, it’ll get you a rough idea of how many words there are.

  1. Can InDesign count words in a whole document?
    Yes, by using the Info Panel or the Story Editor, you can select all the text in your document to see the total word count.
  2. Can I use scripts in InDesign to count words?
    Yes, InDesign supports scripting. You can find numerous free scripts online that can help with word counting.
  3. What are some common mistakes to avoid when managing word count in InDesign?
    Some common mistakes include ignoring Master Pages, not utilizing layers, and overlooking the Preflight Check.
  4. Can adjusting kerning and tracking affect my word count?
    Adjusting kerning and tracking can alter how many words fit in a given space, but it does not change the actual word count.
  5. Why is word count important in InDesign?
    Word count is important as it helps ensure you meet your content requirements. This is especially critical when you have specific word count limits for clients or publishing platforms.

To Conclude

All in all, users aren’t able to quickly see the word count in InDesign, and if you have to reach or stay within a certain range, accessing this feature is important.

If it’s inconvenient to access the built-in feature, one of the alternative methods above will hopefully help.

Keep in mind that If you want a simpler and less expensive desktop publisher, PDFelement is your best choice. It offers all the essentials and much more!

Jack

10 years of experience in information and computer technology. Passionate about electronic devices, smartphones, computers, and modern technology.

Число знаков и пробелов в Инди.

Поищите в Поиске по нашему форуму.
"Подсчет", "Скрипт подсчета", "Скрипты" и проч.

dieter
Участник
  • 26.09.2011
  • #3

Ответ: Число знаков и пробелов в Инди.

Перерыл весь форум. Самого скрипта (файла) так и не нашел. Может кто поможет?

Участник
  • 26.09.2011
  • #4

Ответ: Число знаков и пробелов в Инди.

andrejK
  • 26.09.2011
  • #5

Ответ: Число знаков и пробелов в Инди.

инфо — смешная палитра) она, к примеру учитывает и невидимые символы. мягкие переносы и прочая

Участник
  • 26.09.2011
  • #6

Ответ: Число знаков и пробелов в Инди.

Будет не 5000 символов, а 5100 — 10 лет без права переписки?

sakhar
Professional
  • 26.09.2011
  • #7

Ответ: Число знаков и пробелов в Инди.

needit
Участник
  • 07.06.2012
  • #8

В Индизайне можно посмотреть статистику(знаков с пробелами, знаков без пробелов, . ) как в word?

В Индизайне можно посмотреть статистику(знаков с пробелами, знаков без пробелов, количество слов, абзацев) как в word ?
Если да, то как?

Dim Schief
  • 07.06.2012
  • #9

Ответ: В Индизайне можно посмотреть статистику(знаков с пробелами, знаков без пробелов, . ) как в word?

needit
Участник
  • 07.06.2012
  • #10

Ответ: В Индизайне можно посмотреть статистику(знаков с пробелами, знаков без пробелов, . ) как в word?

Разнится значение через Скрипт и в Индизайне через палитру info /

andrejK
  • 07.06.2012
  • #11

Ответ: В Индизайне можно посмотреть статистику(знаков с пробелами, знаков без пробелов, . ) как в word?

dimend
Участник
  • 31.01.2013
  • #12

Ответ: Число знаков и пробелов в Инди.

LeonidB
Их бин
  • 31.01.2013
  • #13

Ответ: Число знаков и пробелов в Инди.

К сожалению, и скрипт Батушева учитывает мягкие переносы при подсчёте.
Ссылку на пример залил на файлообменник, но сюда вставить не получается.

Ещё разок попробую: _http:_//forum.rudtp.ru/downloads.php?do=file&id=734

Upd.: Получилось. Только надо убрать _ вокруг http:

LeonidB
Их бин
  • 22.12.2013
  • #14
_MBK_
Пикирующий бомбардировщик
  • 22.12.2013
  • #15
LeonidB
Их бин
  • 22.12.2013
  • #16
vbatushev
  • 23.12.2013
  • #17

Я-то воткну. Точнее даже воткнул. Чтобы это не выглядело работой на конкретного человека и не дало бы мне повод потребовать оплаты моего рабочего времени*, я сделал не исключение мягких переносов, а исключение любых символов, которые перечислены в новом поле диалога.

InCountChars-1-2.png

Что хочется сказать по поводу измененного скрипта.
1. Новое поле принимает в себя строки в формате GREP. Про него можно прочитать как в интернете, так и в книжках.
2. В поле можно писать GREP-символы Adobe InDesign. Что это за символы можно прочитать в документации, можно найти про них сведения в интернете и даже, о боже, в диалоговом окне Найти/ПотерятьЗаменить.
3. Так как это строка GREP, то в ней символы должны а) разделяться как и положено при перечислении GREP, то есть символом |, б) служебные символы должны писаться как положено, а то воткнете точку и бьетесь в панике, что произошло. Греп суеты не любит, греп любит логику.
4. В теле письма в саааамом начале есть строчка, где указано значение поля "Показывать количество знаков без указанных символов" по умолчанию. Я туда вколотил знак мягкого переноса. Вы, соответственно, на свой страх и риск можете колотить туда хоть «Войну и мир».

Скрипт традиционно поставляется «как есть», любые разрушительные последствия его применения считаются вашей личной проблемой. Код открыт, можно править, корежить и улучшать. Можно даже при этом не упоминать моего имени, но если упомянете — хорошо.

————-
* Это я как бэ намекаю, что просить меня улучшить или подогнать под желания конкретного пользователя бесплатный скрипт, ну это как бы помягче-то, видимо, полагать, что заняться мне нечем в отличии от уважаемого пользователя.

Unexpected ways to perform word count in InDesign.

Count words in Indesign

In previous posts, we’ve discussed many ways to count words in PDF files, including word count in Adobe Acrobat Reader. But we don’t always use PDF readers to count words. Sometimes we need to count words in desktop publishing and typesetting software applications. Yes, you guessed it! We are talking about word count in InDesign.

Open the InDesign word count panel.​

You can open the Info Panel using the hotkeys. Click F8 , and you will see a pop-up window with information about the number of characters with spaces, words, lines, and paragraphs.

If you’re using Adobe InDesign on a Mac with the Touch Bar, you first need to press and hold the Fn (Function) key on your keyboard to see the F8 button on the Touch Bar.

Indesign word count

You have to select a text frame so that the Info Panel will show word count statistics. If the text frame is not set (inactive), you won’t see word count information in the Info Panel.

Word count in overset text

One of the word count InDesign features is that InDesign statistics include overset text. Overset text appears when a text box is too small for the text content. The result is missing words, paragraphs, or even entire pages in a document.

Thus, the extra text extends beyond the visible text frame. Simply put, we do not see text that does not fit into the frame. InDesign shows a small icon with a red plus symbol to indicate that there is an overset text.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *