Цитата
В общем, после открытия файла ничего не меняется.
Где и что искать? или ожидать?
Я думал что из названия скрипта все будет понятно... :-)
(кто-то знает зачем в иллюстраторе окно Variables?)
Ну тут все просто:
- создали csv файлик, содержание например такое (в экселе это колонки просто):
Петя;Футболист;Пиво
Федя;Программист;Водка
Вася;Дизайнер;Коньяк
:-D
- делаем нью документ
- вставляем туда 3 текстовых объекта
- запускаем скрипт (открываем наш файлик)
- открываем окно Window->Variables
- теперь по очереди связываем все наши текстоые блоки с переменными (выделяем текстовый блок, выделяем переменную в окне Variables (Variable1 соответсвует первой колонке, Variable2 - второй и т.д.), жмем кнопку Make Text Dynamic в этом же окошке)
- теперь меняем "Data Set 1" на "Data Set 2" и т.д (в этом же окошке)
Изучаем разделы хелпа найденные по запросу batch... :roll:
+
--------------------------------------------------------------------------------
About data-driven graphics
Data-driven graphics make it possible to produce multiple versions of artwork quickly and accurately. Let's say, for example, that you need to produce 500 different Web banners based on the same template. In the past, you had to manually populate the template with data (images, text, and so on). With data-driven graphics, you can use a script referencing a database to generate the Web banners for you.
In Illustrator, you can turn any piece of artwork into a template for data-driven graphics. All you need to do is define which objects on the artboard are dynamic (changeable) using variables. (See About variables.) You use variables to change text strings, linked images, graph data, and the visibility setting of objects in your artwork. In addition, you can create different sets of variable data in order to easily view what your template will look like when it is rendered. (See Using data sets.)
Templates provide a means of collaboration between designers, developers, and production staff:
If you're a designer, creating a template gives you control over the dynamic elements of your design. When you hand your template over for production, you can be sure that only the variable data will change.
If you're a developer, you can code variables and data sets directly into an XML file. The designer can then import the variables and data sets into an Illustrator file to create a design based on your specifications.
If you're responsible for production, you can use scripts within Illustrator, the Batch command, or a Web production tool such as Adobe GoLive 6.0 to render the final graphics. You can also use a dynamic imaging server such as Adobe® Graphics Server to further automate the rendering process. (See Using scripts and Batch-processing files.)
:evil:
Это сообщение было отредактировано: vd, 02 Июл, 2004 - 22:57