<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="screensize" module="max" category="System">
	<digest>
		Output the monitor size
	</digest>
	<description>
		Reports the resolution to which the computer's monitor is currently set.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			System
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				bang Reports Screen Size
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				bang Reports Screen Size
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="list">
			<digest>
				(list) Coordinates of Main Screen
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="list">
			<digest>
				(list) Coordinates Enclosing All Monitors
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Report screen size
			</digest>
			<description>
				Triggers the output of the main screen size and total multi-monitor screen bounding rectangle out the outlets.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="screensize.png" caption="screensize reports the coordinates of the main and total screen areas" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="gestalt" />
		<seealso name="jit.displays" />
		<seealso name="menubar" />
		<seealso name="thispatcher" />
		<seealso name="zmap" />
		<seealso name="basicchapter13" module="max" type="tutorial" />
	</seealsolist>
	<discussion>
		<b>Note:</b> The <o>screensize</o> object on Windows now behaves as it does on the Macintosh - it outputs the screen's size rather than its bounding coordinates. While this may cause off-by-one errors in patches that use the <o>screensize</o> object on Windows, fixing them will guarantee cross-platform compatibility for your patches.
	</discussion>
	<misc name="Output">
		<entry name="list">
			<description>
				Out left outlet: The bounding coordinates of the main screen: left is first, followed by top, right, and bottom.
				<br />
				<br />
				Out right outlet: The bounding coordinates of all monitors. If there is only one monitor, the output will be the same as with the left outlet.
			</description>
		</entry>
	</misc>
</c74object>
