AboutScott Cook Expertise I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!
Experience Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com.
PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.
Question How can you determine the screen resolution using Autolisp? It's important when displaying slides. You'd like to make them in 1024x768 or higher, but what if the user has 800x600 or lower? Then you need a lower-res slide. Can you determine the screen resolution with Autolisp so that you can display the highest resolution slide as possible?
Answer here's a chunk of code that will do it for you. I had the same problem already with something else.