This method gets the monitor rectangle for the given point. If monitor cannot be
determine for the given point the primary monitor rectangle will be returned.
function onSample()
{
var rect = appUtils.monitorRectFromPoint(appUtils.mouseX, appUtils.mouseY);
if (rect)
{
shell.print("width x height = " + rect.width + " x " + rect.height);
}
}