Hi I am in need of some suggestion and scripting help if possible please.
I work for a signage manufacturing company ( we design and construct signs ranging from banners to illuminated letters / logos you'd see on buildings to full size pylons with tenant panels and graphics ) as a graphic designer. I'm looking to create a script that will run automatically every time a file is opened and search the document for a keyword or I was thinking perhaps a layer with a specific name that we would create, and when it is found have an alert box pop-up with text appear. If it is not present then the script would end without doing anything.
The objective of the script is to provide notice and stop our production team from using graphics, logos, or text that is not official or approved by our client. Our production team works off the files we save on our server and this script would serve as notice to them that this job cannot go further without proper artwork.
I am not familiar with scripting, I was hoping I might find something online or close enough to what I would need with just some minor changes but I wasn't that lucky. I have made some attempts but they don't work. Here is what I have so far:
// Find the Layer
{ var layerString="ARTWORKREQUIRED";
alert("This file is NOT production ready, proper artwork is required.")
}
I saved the script into a folder I created in 'Applications/Illustrator/Startup Scripts/' and saved it as 'ArtworkRequired.jsx' Please any suggestions or help with this script would be greatly appreciated! Going about it this way, I think I would have to place that script locally for all macs on our network, but that's ok by me we just need it to work!
We are using CS3 in a pc / mac environment, but only the macs access the Illustrator files.
Matt