I want to copy all png files in a folder on to a single Adobe Illustrator art board.
I have the flow like - http://i.imgur.com/rBWc5Wj.png
When a folder is placed in the In folder the folder is considered as a job and copied to the Intermediate folder, however, Adobe Illustrator is never called.
There is a script also that copies all png files from a folder into an art board. When I execute the script from Adobe ExtendScript. The images are copied on the art board. However, this script is not called from within SWITCH.
The error message is - 23.12.2013 01:13:59,Error,Adobe Illustrator,With AI,Illustrator,00020,MW01_CW01,Can't find a source file in the folder 'C:/Users/js/AppData/Roaming/Enfocus/Switch Server/temp/_00020_MW01_CW01'
Combining multiple files from a folder in a single artboard of Adobe Illustrator
-
- Newbie
- Posts: 5
- Joined: Mon Dec 23, 2013 12:48 am
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Combining multiple files from a folder in a single artboard of Adobe Illustrator
Illustrator and most other configurators for GUI applications only accept a single file job not job folders.
Combining multiple files from a folder in a single artboard of Adobe Illustrator
In the Illustrator configurator you have to set the "Open" property to "Use script" instead of "Automatic". In that way Switch will open Illustrator with an empty file and pass you the path of the incoming job, also when it is a folder.
It is then up to you to read the contents of the folder and place the PNG's in the Illustrator file.
You do not have to save the file, Switch will do that for you.
There are a few conventions to follow, however, with regards tot the use of certain variables. You can find more about that in Help - Introduction - Advanced Topics - Javascript for applications.
Freddy
It is then up to you to read the contents of the folder and place the PNG's in the Illustrator file.
You do not have to save the file, Switch will do that for you.
There are a few conventions to follow, however, with regards tot the use of certain variables. You can find more about that in Help - Introduction - Advanced Topics - Javascript for applications.
Freddy