Display current color quality setting?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Rain
Automation Wizard
Posts: 550
Joined: Tue Aug 09, 2005 5:02 pm
Contact:

Display current color quality setting?

Post by Rain » Sun Apr 27, 2008 5:12 pm

Is there an easy way to retrieve the current system color quality setting? Have a script display if the systems color quality setting is 32 or 24 bit.

Thanks

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Sun Apr 27, 2008 5:42 pm

Let>BITSPIXEL=12
LibFunc>User32,GetDC,hDC,0
LibFunc>GDI32,GetDeviceCaps,ColorDepth,hDC,BITSPIXEL
MessageModal>ColorDepth
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Rain
Automation Wizard
Posts: 550
Joined: Tue Aug 09, 2005 5:02 pm
Contact:

Post by Rain » Mon Apr 28, 2008 11:18 am

Thank you for the quick reply, Marcus.

Works perfectly!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts