I have the script for printing several layouts working. In my directory to be printed I have drawings in model space and some in paper space and I have no idea which is which unless I open the drawing first, so now I would like the script to check first if is a model that needs to be printed, if not then print the layouts, do you have any scripts for this type of option.
Scripting cannot process any "conditions" like, "if this is true, then do that, otherwise do something else". That must be done in lisp or VBA, so the only way to do that would be a combination of script, lisp and/or VBA.
Hopefully this will get you off in the right direction.