Holy smoke! This script is just the ticket! Thank you so much. You have saved me hours of work. I'm looking for a way in import individual layers from one Illustrator files into Apple Motion 5, so I can animate each layer independently. Again, thank you!
i wasn't able to get the second script to work (the one that should remove the layers that don't belong in the new file).
i don't know much about scripting, but the first file doesn't look anything like the second..
and this is the error it gives.
may i get help on this script to save only the layer information per the new file it's creating?
@tpf1952.. it worked for you?
thank you if anyone can help!!!!!
The script you show in the right hand window is an AppleScript that will only work on a Mac. It should be placed in the Apple Script editor. You've placed it in the ESTK which is only used for ExtendScript (Adobe's implementation of Java Script).
Did you find a way to go around the prompt about discarding hidden layers? I couldn't get rid of this dialog and the action became useless, I still need to click ok each time a document is flattened.