как установить скрипт в indesign

Scripting

Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.

как установить скрипт в indesign. scripts. как установить скрипт в indesign фото. как установить скрипт в indesign-scripts. картинка как установить скрипт в indesign. картинка scripts. Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.

как установить скрипт в indesign. community scripts. как установить скрипт в indesign фото. как установить скрипт в indesign-community scripts. картинка как установить скрипт в indesign. картинка community scripts. Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.

Scripting in InDesign

Scripting is a great tool for performing a variety of tasks. A script can be as simple as an automated common task or as complex as an entire new feature. You can create your own scripts, and you can run scripts that other people have created. For more information on scripting, see Scripting Guide, scripting requirements, and other developer resources.

The Scripting Guide contains an introduction to scripting and tutorials. You can also find a number of useful scripts that you can run, such as a script that draws guides around the selected object. Some of these scripts appear by default in the Scripts panel.

Scripts panel and Script Label panel overview

InDesign includes two panels for scripting: the Scripts panel and the Script Label panel.

The Scripts panel is where you run scripts without leaving InDesign. The Scripts panel displays the scripts that are located in the Scripts folders in the InDesign application folder and in your Preferences folders. If you create or receive a script, you can place it in the Scripts Panel folder so that it shows up in the Scripts panel.

Users/[username]/Library/Preferences/Adobe InDesign/[version]/[language]/Scripts/Scripts Panel

Documents and Settings\[username]\Application Data\Adobe\InDesign\[version]\[language]\Scripts\Scripts Panel

Windows Vista and Windows 7

A quick way to locate the Scripts Panel folder is to right-click (Windows) or Control-click (Mac OS) a script in the Scripts panel, and choose Reveal In Explorer (Windows) or Reveal In Finder (Mac OS).

You can then double-click a script in the Scripts panel to run it, or you can run scripts using Quick Apply.

The Script Label panel lets you specify a label for a page item, such as a text frame or shape. Specifying labels for page items is especially useful for writing scripts in which you need to identify an object.

For detailed information on adding, running, and editing scripts, see the Scripting Guide on the Adobe website at http://www.adobe.com/devnet/indesign/documentation.html.

Open the Scripts panel

Choose Window > Utilities > Scripts.

Open the Script Label panel

Sample scripts

Adds guides around the selected object or objects.

Adds points to the paths of the selected object or objects.

Moves objects by specified distances on right/left pages.

Aligns objects to specified positions on a page.

Automatically creates buttons with different animation properties.

Removes a selected text frame and its contents from a story.

Re-draws the path of the selected item or items using a variety of corner effects. Corner effects can be applied to selected points on the path.

Defines a complete character style based on the selected text.

Adds crop and/or registration marks around the selected object or objects.

Exports all stories in a document to a series of text files.

Performs a series of common text find/change operations by reading a tab-delimited text file.

Places all graphics in a specified folder in a “contact sheet” layout.

Creates a grid by subdividing or duplicating the selected object or objects.

Applies a “blend” effect to the selected object or objects.

Changes the position of path points on the selected object or objects to add a creative effect.

Places all pages of a PDF.

Selects objects on the active spread by their object type.

Sorts the paragraphs in the selection alphabetically.

Splits the text frames in the selected story into separate, unlinked text frames.

Applies tab stops and indents to the selected text.

For more information on installing and using these sample scripts, see www.adobe.com/go/learn_id_scripting_readme_cs5_en (PDF).

Community-contributed scripts

InDesign also provides more scripts that are created by the InDesign community.

Adobe maintains a repository of open source community scripts on GitHub. For more information about the InDesign Community Script repository, see the ReadMe file. This ReadMe file includes details about contributing a script and links to the scripters.

Источник

Наш канал на Youtube

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

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

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

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

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

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

Скрипт — инсталлятор скриптов

Процесс установки скриптов сводится к копированию файла скрипта в папочку Script Panel. Казалось бы всё просто. Но не тут то было. Часто невозможно добраться до этой папки средствами системы, так как папка скрыта от пользователя. Да и путь у нее такой, что чёрт ногу сломит. Например, в Windows она располагается по адресу:

c:\Users\User\AppData\Roaming\Adobe\InDesign\Version №\en_US\Scripts\Scripts Panel\

где User — имя пользователя или имя учетной записи, Version № — порядковый номер версии Индизайна.

Существует и более простой способ открыть папку Scripts Panel. Для этого надо в Индизайне войти в меню панели Scripts, выбрать пункт Reveal in Explorer, и папка будет открыта средствами системы (Проводник или Finder). Остаётся вставить в неё ранее скопированный скрипт.

как установить скрипт в indesign. . как установить скрипт в indesign фото. как установить скрипт в indesign-. картинка как установить скрипт в indesign. картинка . Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.

К сожалению, при помощи панели Scripts невозможно сразу открыть папку, куда копируются скрипты типа Startup, то есть стартующие вместе с запуском Индизайна. Невозможно в стандартной комплектации Индизайна. Но если использовать скрипт InstallScript.jsx, (автор Olav Martin Kvern ), то процесс установки скриптов значительно упрощается. В результате работы этого сценария в меню панели Scripts появляются дополнительные пункты, смотрите рисунок ниже.

как установить скрипт в indesign. scripts panel with new menu items. как установить скрипт в indesign фото. как установить скрипт в indesign-scripts panel with new menu items. картинка как установить скрипт в indesign. картинка scripts panel with new menu items. Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.

Но алгоритм работы новых команд несколько иной. Если стандартная команда Reveal in Explorer просто открывала папку со скриптами, то при использовании новых команд Install Script и Install Startup Script открывается окно Проводника, предлагая указать, где находится скрипт, который нужно установить. А куда его скопировать — дело известное.

как установить скрипт в indesign. download1. как установить скрипт в indesign фото. как установить скрипт в indesign-download1. картинка как установить скрипт в indesign. картинка download1. Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.

И последнее — скачанный вами скрипт относится к классу Startup, и его следует положить в папку Startup Scripts, которая находится на одном уровне с папкой Scripts Panel

как установить скрипт в indesign. AddPathOperationsToLayoutMenu3. как установить скрипт в indesign фото. как установить скрипт в indesign-AddPathOperationsToLayoutMenu3. картинка как установить скрипт в indesign. картинка AddPathOperationsToLayoutMenu3. Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.

Если у вас такой папки ещё нет — её надо создать самому. А дальше, после установки скрипта InstalScript, устанавливать другие скрипты будет значительно проще.

Информация для этого материала взята отсюда.

Источник

Разработка сценариев

Узнайте, как выполнить автоматизацию общих задач разработки сценариев с помощью панели сценариев и панели ярлыков сценариев в InDesign.

как установить скрипт в indesign. scripts. как установить скрипт в indesign фото. как установить скрипт в indesign-scripts. картинка как установить скрипт в indesign. картинка scripts. Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.

как установить скрипт в indesign. community scripts. как установить скрипт в indesign фото. как установить скрипт в indesign-community scripts. картинка как установить скрипт в indesign. картинка community scripts. Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.

Разработка сценариев в InDesign

Сценарии представляют собой удобный инструмент для выполнения различных задач. Сценарий может быть как простым (например, автоматизированная типовая задача), так и сложным (например, полностью новая функция). Возможно как создание собственных сценариев, так и запуск сценариев, созданных другими пользователями. Дополнительные сведения о сценариях см. в руководстве по разработке сценариев, в требованиях к сценариям, а также на других ресурсах для разработчиков на сайте.

Руководство содержит введение в написание сценариев и учебные пособия. В нем также представлен ряд полезных сценариев, например сценарий, который рисует направляющие вокруг выделенного объекта. Некоторые из этих сценариев по умолчанию отображаются в палитре «Сценарии».

Обзор палитр «Сценарии» и «Ярлык сценария»

InDesign содержит две палитры для работы со сценариями: «Сценарии» и «Ярлык сценария».

С помощью палитры «Сценарии» можно выполнять сценарии, не выходя из программы InDesign. В палитре «Сценарии» отображаются сценарии, расположенные в подпапках Scripts папки приложения InDesign и в пользовательских папках «Установки». Чтобы сценарий появился в палитре «Сценарии», после создания или получения его необходимо поместить в папку Scripts Panel.

Users/[имя пользователя]/Library/Preferences/Adobe InDesign/[версия]/[язык]/Scripts/Scripts Panel

Documents and Settings\[имя пользователя]\Application Data\Adobe\InDesign\[версия]\[язык]\Scripts\Scripts Panel

Windows Vista и Windows 7

Users\[имя пользователя]\AppData\Roaming\Adobe\InDesign\[версия]\[язык]\Scripts\Scripts Panel

Для быстрого перехода к папке Scripts Panel щелкните сценарий в палитре «Сценарии» правой кнопкой мыши (Windows) или удерживая клавишу «Control» (Mac OS), а затем выберите пункт «Показать в Проводнике» (Windows) или «Показать в программе Finder» (Mac OS).

Затем можно дважды щелкнуть сценарий в палитре «Сценарии», чтобы выполнить его, либо выполнять сценарии с помощью функции «Быстрое применение».

Палитра «Ярлык сценария» позволяет задавать ярлыки для элементов страницы: текстовых фреймов, фигур и др. Задание ярлыков для элементов страницы особенно полезно при написании сценариев, в которых необходима идентификация объектов.

Дополнительные сведения о добавлении, выполнении и редактировании сценариев см. в руководстве по разработке сценариев на веб-сайте Adobe по следующему адресу: http://www.adobe.com/devnet/indesign/documentation.html.

Палитра «Сценарии»

Выберите меню «Окно» > «Утилиты» > «Сценарии».

Палитра «Ярлык сценария»

Образцы сценариев

Добавление направляющих вокруг выбранного объекта или объектов.

Добавление точек в контур выбранного объекта или объектов.

Перемещение объектов на указанное расстояние на правых или левых страницах.

Выравнивание объектов в указанном местоположении на странице.

Автоматическое создание кнопок с различными свойствами анимации.

Удаление выбранного текстового фрейма и его содержимого из материала.

Повторная прорисовка контура выбранного элемента или элементов с использованием различных типов углов. Типы углов могут быть применены к выбранным точкам контура.

Определение полного стиля символа на основе выбранного текста.

Добавление меток обреза или меток приводки вокруг выбранного объекта или объектов.

Экспорт всех материалов документа в несколько текстовых файлов.

Выполнение нескольких операций по поиску и замене текста на основе файла с разделителями-табуляциями.

Размещение всей графики в определенной папке макета «галереи».

Создание сетки путем разделения или дублирования выбранного объекта или объектов.

Применение эффекта «наложения» к выбранному объекту или объектам.

Изменение положения точек контура на выбранном объекте или объектах для добавления художественного эффекта.

Помещение всех страниц файла PDF.

Выбор объектов на активном развороте по типу.

Сортировка всех абзацев выбранного фрагмента в алфавитном порядке.

Разделение текстовых фреймов в выбранном материале на отдельные несвязанные текстовые фреймы.

Применение табуляции и отступа к выбранному тексту.

Для получения дополнительной информации об установке и использовании этих образцов сценариев см. www.adobe.com/go/learn_id_scripting_readme_cs5_ru (PDF).

Сценарии, созданные сообществом

Теперь в InDesign можно найти еще больше сценариев, созданных сообществом InDesign.

Adobe поддерживает на GitHub репозиторий со сценариями сообщества с открытым исходным кодом. Дополнительные сведения о репозитории InDesign Community Script см. в файле ReadMe. Этот файл ReadMe содержит подробную информацию о том, как внести свой сценарий в репозиторий, а также ссылки на создателей сценариев.

Источник

How to install scripts in InDesign

We all love the power of using scripts, but before you can use them, you have to install scripts in InDesign. Here’s how.

Download the script onto your computer and if necessary, unzip it. You should end up with a plain text file with a special filename extension:

Tweaking Scripts

If you need to change a setting inside of a script, you can edit it in a text editor. Be sure to save the file as a plain text file with the original extension.

Installing Scripts in the InDesign Scripts Panel

There are two places you can install scripts in InDesign: The application folder and the user script folder. The easiest way to find these folders is to open the Scripts panel in InDesign (Window > Utilities > Scripts), then right-click on either Application or User. We tend to use “User” for scripts that we’ve downloaded—”Application” makes the script available to all users on the computer—but it’s up to you and the permissions you have on your computer. From the context menu, choose Reveal in Finder (or Reveal in Windows Explorer).
как установить скрипт в indesign. revealinfinder new. как установить скрипт в indesign фото. как установить скрипт в indesign-revealinfinder new. картинка как установить скрипт в indesign. картинка revealinfinder new. Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.
Inside the folder that opens there is a folder called Scripts Panel. Put your scripts inside that.

Any script inside the Scripts Panel folder will show up immediately in InDesign. No need to restart the program.

How to Run Scripts from the InDesign Scripts Panel

To run the script, open a document in InDesign, then open the Scripts panel (see above) and double-click the script name. Some scripts require you make a selection first before you run them, because they act on the selection. See if the script writer provided any sort of documentation if you can’t figure it out.

When the Script is Nothing But Text

If you’ve downloaded or clicked on a script and you just see a bunch of text, you’ll need to get it into a format for you to install. Click here to read how to do just that.

Working with Old Versions of InDesign or Older Scripts

If you’re still using CS or CS2, follow this info: To install the script, locate the Adobe InDesign program on your computer and drag and drop the script file into the Adobe InDesign CS2 > Presets > Scripts folder. If you don’t see a folder called Scripts inside of Presets, you can make one yourself.

Note that you may need to have an admin account on your computer in order to add plug-ins and scripts to InDesign … but once they’re in there, any type of user account can use them.

If you are having trouble running older scripts in a newer version of InDesign, read this post.

Recommended For You

Introducing The Design + Accessibility Summit—An Online Event, November 16–19, 2021

InDesign Magazine Issue 149: The Accessibility Issue

InDesign PDF Export Options

Tools and Services for Accessibility

Beautiful. It worked like a charm. Actually better, ‘cuz charms never work.
Now, if I only had a script to unlink all stories in a given document, I’d be set. How hard can that be, right?

Sorry, I meant to write this in another thread. Guess that’s the draw back of tabbed browsing. 😉

this is absolutely amazing!! thanks so much.

Can this be made (for a novice) to work in CS? i d not have the luxury of CS2 and with CS3 on the way soon it may not be worth moving to CS2.

Had a little trouble editing the script for zooming to actual size, but finally found a script editor on my mac that did it. Great help, thanks very much.

It cant add pages between pages. Only adds in end 🙁

How can i install PDF presets that seem to be missing in my CS2?

just trying to get in on the correct topic here. Thanks!

I tried the jsx file on Indesign CS with no luck. I also attempted to resave the file as a VBS with no success running it either.

Thank you for describing this process! I could not find it anywhere in the CS2 documentation. (It tells you to install but never tells you how.) Thanks also for including how to open the Scripts palette — the menus are not intuitive, and I don’t use InDesign often enough to remember everything from use to use. It would be a big help for Adobe to include that sort of stuff when they write their manuals.

Thank you, I almost have tears on my eyes, I’ve been looking for this procedure for hours. I wonder what the adobe guys was thinking when they wrote the online help.

Great stuff! However, I tried to use Clever Find/Change Dialog Box Closer and it isn’t working. I can set the shortcut, but there isn’t a way to get out of the find or change boxes. So, when I hit the key it simply places the stroke in the box and doesn’t close the box. I’m sure it’s something simple, but what am I doing wrong?

Caryn, this plug-in may only work in CS2. Are you trying it with CS3?

to:David Blatner
Yes. Its working in CS3 too.

Altough I have
place a script into the scripts folder
indesign cs2 doesnt read it..

I don’t how i can eddit or save a txt to a script format

but i have also tried to fix it with a scipt editor and stil doesnt work

Awesome. Works great. Thank you. 😀

WOW! Life saving script! (a little over the top, I know, but you don’t know how much this has helped me in a very time critical situation.)

Big Thanks! But… the script doesn’t work correctly with the changing of Hebrew vowel’s punctuation of MSS text… does any body could help me to adjust the script?

Thank You SO much David for this action script. It’s a
life saver for those of us who don’t want to plunk down another grand on the ME version.

In InDesign CS3 I used the Dave Saunders´ Change Case of Selected Style script and it worked fine. Now, in CS4 the script reports an error on line 41:
app.findPreferences = null;
Any suggestions? this is a very usefull script I use all the time. Thanks in advance.

Hello,
I’m French, so sorry for my english.

Thk you in advance.

In Cs3 it just doesn’t work, When a double klick it, I mean the script, in the script folder in indesign, it does nothing, I even made the Version 4.0 Scripts folder, installed java again…

I’m new at this, It just doesn’t work 🙂

That is quite a common problem, and the solution is discussed here:

Basically, your preferences are probably set so that scripts don’t interact with anyone.

That script saved me … and so much time
million thanx!

I’m on cs1 and I just can’t get this script to work. I’ve followed the above comments and tried saving the file in various formats both from TextEdit and ScriptEditor and nothing seems to work for me. Please help! I need this script desperately.

i am getting error in document system freezes & crashes

breath taking! Works perfect.
thank you again

It worked like a charm

This is an AMAZING script. I love it!

Which script are you talking about?

I can’t thank you enough! It worked just fine in CS3.

awesome script, just saved me an hour on a 105 page layout import. thanks a ton

I am using InDesign CS4, I tried it for Arabic, but it’s not working.

If anyone knows how to deal it with CS4, it would be great help.

Man! This is great! Thank you so much!

This script is a lifesaver!!

When I copy scripts to the User folder or the App folder, nothing shows up in InDesign Scripts Panel.

I also tried to install an mxp script with Adobe Extension Manager, then the Extension Manager put the file in the right folder, But also the script doesn’t show up in InDesign.

I’m also enabling the “Enable Attached Scripts” in Preferences > General

I do exactly as you said, David, I even open those folders from InDesign “Reveal in Explorer” command, even more I copied one or 2 of the default scripts to the destination folders, but InDesign acts like there is nothing.

By the way, thanks for the great work 🙂

@Jim: Thanks! I don’t know what the problem could be. Perhaps rebuild preferences? Restart? Very mysterious.

oh, I reinstalled InDesign and it’s working fine now

Thanks David for your replies 🙂

Yes, thank you for your explanation. Bye

Thank you so much! It actually worked – wow.

I need, how to layout for head level and body matter in script method.

For example: Head level 1 is 46p and body matter is 32p how to split in script. (ID-xml workflow)

It looks like this script only allows for years 2004-2007. How do you change this or how can I get an updated scipt that includes current and future years?

@Kevin: Which script are you talking about? Sounds like a calendar script. Do you mean the calendarwizard script I talked about here?

thanks, super helpful to a new script user!

I am writing a script in JSX to modify the text in an anchored text frame and modify the size of a graphic frame, but when I run it the anchored object disappears (it seems that the anchor vanishes). I’m really stuck with the main problem being lack of detailed documentation.

If anyone has experience of the above that would be great, but just as importantly does anyone have any proper documentation for scripting InDesign CS5.5 via jsx?

Andrzej, you can ask specific questions in the Scripting forum (you have to register as forum member first but it’s free).

On documentation: there is a lot of basic how-to’s in the PDFs in Adobe’s own Scripting Resources section. For a detailed item-by-item description, you can consult the built-in Help in the Toolkit Editor, or see the list at the end of my article JavaScript for the Absolute Beginner.

Does anybody still need a script to unlink stories in document/book?

The scripts folder won’t open. “Application” and “user” won’t open. How do I get it to open. I have Indesign CS5. I am trying to import a multi-page PDF file into an Indesign CS5 document. Why should this simple task be so difficult and time-consuming? If somebody can help, I would appreciate it. Adobe Tech Support could not fine an answer for this. Thanks, Bill

Bill, are you trying Scott Zanelli’s Multipage importer script?

Not being able to open must be some sort of local issue with your computer — you don’t mention your OS, but if it is Windows 7 it might be something related to your user account.

For the time being: if you get stuck by this and can’t get on with the job at hand, try the Manual way. Use “Place” the usual way to select your PDF, but make sure “Show options” is selected. In the little Import Options dialog, choose “All” for page range. This ‘loads’ your Place Gun with all pages, and you can click once per page to place all of them.

very, very nice – thank you so much!

For anyone still needing to split threaded stories using a script, try Story Splitter, mentioned here:
https://creativepro.com/splitting-up-threaded-stories-into-separate-frames.php

has anyone gotten this “multi-page pdf placing” script to work with CS6? I’ve placed the script file in the correct place as described above…but when I click on the script to launch it, InDesign thinks about it forever and nothing actually happens.

Same thing happening here. Did you ever come up with a solution?

Yes I have S6 and its working very nicely, thank you for the programmer of this script. God blees you

Is it just me or does this script only place the pages of the PDF as images?

THIS IS BRILLIANT. THANKS! WHERE HAS IT BEEN ALL MY LIFE

hi i may be ignorant on this…but i downloaded the Adobe Calendar Wizard and the scripts are in Dreamweaver…? is this what i place in InDesign…any help would be great….1st time with a calendar and anything to do with scripts

Never mind guys…i figured it out:)

Thank you! I have Adobe Cloud and it worked great, except it deleted the pages that were already there, after the placement, e.g., I placed the pages at p11 and I had content on page 30-35. Those were deleted.

Thank you so much!! This script was amazing and so fast whew I was dreading opening all those pages and you really saved me the headache. By the way this website is an invaluable resource for all of us.

How can I install indesign free of cost in window 8.1?

I downloaded the MergeTables script from a link on this site. I’m on a Mac/Mavericks/InDesign CC 10.2.0.69. I opened the Scripts panel, right clicked on it to “reveal in finder” and it opened the folder “armcomdes” which is a folder inside the Users folder on my system. Copied or dragged the “MergeTables.jsx” to that folder and… nothing. It doesn’t show up in the Scripts panel. Not sure what I’m doing wrong.

Tried the Applications folder and it worked!
Then went back to the Users folder and it worked!

Thank you for such a nice tip. Implemented smoothly and working fine on my PC.

I came to this page from indesign-faq.de. The author from this site has provided instructions to edit the script. Pasting here with due credit :

I just got an email telling me that this very very old script of mine stopped working under CS5
The script automatically creates a backup copy of the current document while saving. Apply cmd-S as shortcut for the script and you won’t notice it is there.
The new version of “save_with_backup” is now a JavaScript (i.e. works on PC as well as on Mac) with a few minor improvements.
Configuration

Before using the script you need to adjust three lines in the code to point to your preferred backup-location.
var desktop_path = Folder.desktop.toString();
// var backup_path = “/someFolder/someSubfolder/backupLocation”;
var backup_path = desktop_path+”/backup”
Currently the backupfolder is on the desktop. You could point to a deeper subfolder of the desktop by changing line 4
var backup_path = desktop_path+”/diversesZeuchs/InDesign-Backups”
In case you want your backupfolder somewhere else, change the code like this
var desktop_path = Folder.desktop.toString();
var backup_path = “/someFolder/someSubfolder/backupLocation”;
//var backup_path = desktop_path+”/backup”
The Result

The script creates a subfolder structure. One subfolder for each day you do a save in the form yyyy mm dd and each document gets a time-prefix in the form hhmmss_

Hi,
The plugin works great but i have one question.
How can i make it to round up after to 2 numbers behind the comma.

I got this: €90.909090909091
But i need this: €90,91

Источник

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

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