3 Replies Latest reply on Feb 14, 2017 12:48 AM by tpk1982

    check if specific object exists on specific layer


      Hi all at the forums,

      Your collective scripting ability has me in awe! Thank you for your help so far - I was wondering if I could ask your help for another little pet project?



      Is it possible to write a script which preflights the following conditions? I need it to run code that checks if both conditions are true and return a warning message if not.



      1. an object exists in the document that has no fill but a stroke in a spot colour called ‘cutter’

      2. this object sits on a layer called ‘cutter’


      I’m not sure if this is possible, I’ve found no similar threads but am trying my luck


      Thanks so much in advance.