<?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="loadmess" module="max" category="Messages, Patching">
	<digest>
		Send a message when a patch is loaded
	</digest>
	<description>
		Outputs a message automatically when the file is opened, or when the patch is part of another file that is opened.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Messages
		</metadata>
		<metadata name="tag">
			Patching
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Double-Click or bang to Re-Trigger Message
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Double-Click or bang to Re-Trigger Message
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Message Output When Patcher Is Loaded
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="message" optional="0" type="symbol">
			<digest>
				Message to output
			</digest>
			<description>
				Any arguments you type into a <o>loadmess</o> object are treated as a message to be sent when output is triggered.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output the message
			</digest>
			<description>
				Sending a <m>bang</m> message to a <o>loadmess</o> object causes it to output its typed message.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Output the message
			</digest>
			<description>
				Double-clicking on a <o>loadmess</o> object causes it to output its typed message.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="message" optional="0" type="list" />
			</arglist>
			<digest>
				Set the message with no output
			</digest>
			<description>
				The word <m>set</m> followed by any message will set the message held by <o>loadmess</o> without any output. (Can be used for output in conjunction with <m>bang</m>.)
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="defer" get="1" set="1" type="int" size="1">
			<digest>
				Output deferral
			</digest>
			<description>
				When enabled, the output of the <o>loadmess</o> object is deferred.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Defer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="loadmess.png" caption="The same thing as loadbang and a message box for extremely lazy people..." />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="active" />
		<seealso name="button">
			Flash on any message, send a <m>bang</m> 
		</seealso>
		<seealso name="closebang" />
		<seealso name="freebang" />
		<seealso name="loadbang" />
		<seealso name="thispatcher" />
	</seealsolist>
	<misc name="Output">
		<entry name="symbol">
			<description>
				The <o>loadmess</o> object's typed message is sent automatically when the patch is loaded. As with the <o>loadbang</o> object, you can also cause <o>loadmess</o> to send out its message by double-clicking on it in a locked patcher, or by sending a <m>loadbang</m> message to a <o>thispatcher</o> object in the same patcher. Holding down the Shift and Command keys on Macintosh or Shift and Control keys on Windows while a patch is loading prevents <o>loadmess</o> objects in that patch from sending any output.
			</description>
		</entry>
	</misc>
</c74object>
