macro - detect layers and pop up warning

Hi.  Is there a macro that check a document after importing a file if there are added layers besides Layer 1.  I keep running into a problem where five additional layers are made after importing an ai file.

No Data
  • You could make such a macro but you'll still need to run it manually not run automatically on import. Import then run the macro or add the macro icon to the toolbar for a quick click.

    Best I can come up with is adding the layer count into the title bar. If the count is more than 2 you know you might have "problems"