A new week, a new plugin…
This one was asked by Zubaz to better handle multi-monitor systems. As it turns out, the virtual screen coordinates are not nearly enough to be able to position objects on multi-monitor systems. WMI is exposing monitor information, but it does not seems to work reliably (it only gives information for the first monitor on my system for example).
The plan for this plugin is to include all misc functionality that isn’t big enough to warrant a plugin of it’s own. At this time, the only thing available is monitor/screen information, but I have a few more things already planned.
MonitorInfo object:
This is a script "object" with the following properties:
- IsPrimary
- Left
- Top
- Bottom
- Right
SysControl object (the main object exposed by the plugin):
SysControl.Screens
Gets an array of MonitorInfo objects
SysControl.GetScreen(index)
Returns the MonitorInfo for the given screen
SysControl.NumberOfScreens
Gets the number of active screens on the machine
I added the last method/property pair for JScript users, as working with VBArray can be a pain. It’s giving the same exact info as the first property.
Download
You can download a test version here (set to expire on 10/5/2009).
If you have ideas for stuff to add to this plugin, feel free to post them on the DesktopX 4.x request thread.