(imported comment written by SystemAdmin)
Still having trouble with this.
q: (if (exists wmi) then ((string value of property “ScreenHeight” of it & “x” & string value of property “ScreenWidth” of it) of select objects “ScreenWidth, ScreenHeight from Win32_DesktopMonitor” of wmi)as string else (“N/A”))
A: 768x1024
E: Singular expression refers to nonexistent object.
This is from a computer with a single monitor. I tried Mark’s code and get an error …
q: unique values of ((string value of property “ScreenWidth” of it & “x” & string value of property “ScreenHeight” of it) of select objects “ScreenWidth, ScreenHeight from Win32_DesktopMonitor” of wmi)
E: Singular expression refers to nonexistent object.
Jeremy’s code …
q: (string value of property “ScreenHeight” of it & “x” & string value of property “ScreenWidth” of it) of select objects “ScreenWidth, ScreenHeight from Win32_DesktopMonitor” of wmi
A: 768x1024
E: Singular expression refers to nonexistent object.
Anyone have any other suggestions? I’d be happy if I could just get ONE screen resolution since there are only a few here that have different resolutions, usually laptops where users have an external monitor they attach at their desks via docking stations.