To get the number of physical monitors

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 665
Joined: Fri Aug 10, 2012 2:38 pm
Location: Hudiksvall, Sweden
Contact:

To get the number of physical monitors

Post by Grovkillen » Mon Jul 06, 2020 9:06 am

To get the number of physical monitors:

Code: Select all

LibFunc>user32,GetSystemMetrics,number,80
MDL>number
https://docs.microsoft.com/en-us/window ... temmetrics
Let>ME=%Script%

Running: 15.0.18
version history

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