I have a simple script that I need to run when a file is opened in illustrator(cs5) on windows 7. I tried adding the script to the "startup scripts" folder but that only executes when a new instance of illustrator is started. If illustrator is already open and I go to "file/open", the script doesn't run. Any suggestions?
Thanks for the follow up. I think the real solution is training our artists to pay more attention to their work. Some of our artists were saving their files in RGB color mode instead of CMYK which was obviously causing color problems. I was wanting a script to check the color mode of each file upon 'open' and notify them if it was in RGB, but truthfully they should be paying more attention and catch the problem before the art is sent to production. A work-around like that wouldn't solve the real problem anyway.
It is somehow possible but maybe not using js. For example, there is a script/plugin to check if white objects have overprint turned on - available on http://www.worker72a.com/72a_Pages/CS3_Plug-ins.htm#WOPD . It would be intresting to know how it is made.
Europe, Middle East and Africa