Hello all,
I need help from scripting experts.
I have created a simple action which centres my artwork to the arboard. But I want to perform some more tasks as well. Can anyone please help me write a script to do these:
1. Centre artwork to the artboard
2. Resize artboard to fit artwork
3. Create a rectangle which exactly fits the artboard size and is sent to back Shift+Ctrl+]. It will be the background.
4. Apply the already copied to clipart colour to the background
5. While background is selected: Edit > Edit Colour > Recolour with Presets> 1 Colour Job > Pantone + Solid Coated
(Which basically applies the best Pantone + Solid Coated colour to the background.
6. Delete all unused colours from swatches
6. Saving File as eps, legacy version: Illustrator 10 to the same directory
7. Export a 150 dpi png to the same directory
8. Close the file.
9. Create a shortcut to run the script.
Thanks a lot.
Mohi