<doc>
  <legacy_id>1100</legacy_id>
  <name>with</name>
  <type>keyword</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Writing LiveCode</category>
  </classification>
  <references>
    <keyword tag="without">without Keyword</keyword>
    <keyword tag="using">using Keyword</keyword>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Used with several <glossary tag="command">commands</glossary>, usually to specify a <keyword tag="default">default</keyword> setting or send a <glossary tag="callback">callback message</glossary> when the operation of the <glossary tag="command">command</glossary> is complete.</summary>
  <examples>
    <example>open socket to "www.example.net" with message "mySocketOpened"</example>
    <example>ask file "Please name the file:" with the short name of me</example>
    <example>click at 100,100 with shiftKey</example>
  </examples>
  <description>
    <p>Use the <b>with</b> <glossary tag="keyword">keyword</glossary> to complete a <glossary tag="command">command</glossary> that requires it.</p><p/><p><b>Comments:</b></p><p>The <b>with</b> <glossary tag="keyword">keyword</glossary> is used with the following <glossary tag="command">commands</glossary>:</p><p/><p>* <command tag="accept">accept,</command> <command tag="load">load</command>, <command tag="open socket">open socket</command>, <command tag="read from socket">read from socket</command>, <command tag="write to socket">write to socket</command>: specifies a <glossary tag="callback">callback message</glossary>.</p><p>* <command tag="answer">answer</command>: specifies names of <glossary tag="button">buttons</glossary>.</p><p>* <command tag="answer color">answer color</command>, <command tag="answer file">answer file</command>, <command tag="answer folder">answer folder</command>, <command tag="ask">ask</command>, <command tag="ask file">ask file</command>, <command tag="ask password">ask password</command>: specifies a <keyword tag="default">default</keyword> setting.</p><p>* <command tag="click">click</command>, <command tag="drag">drag</command>, <command tag="type">type</command>: specifies keys to be pressed.</p><p>* <command tag="export">export</command>, <command tag="import">import</command>: specifies a <glossary tag="mask">mask</glossary> file to use.</p><p>* <command tag="hide">hide</command>, <command tag="show">show</command>, <command tag="unlock screen">unlock screen</command>, <command tag="visual effect">visual effect</command>: specifies a visual effect or sound effect.</p><p>* <command tag="combine">combine</command>, <command tag="split">split</command>: specifies <glossary tag="delimiter">delimiters</glossary> to use for <glossary tag="array">array</glossary> entries.</p><p>* <command tag="create stack">create stack</command>: specifies a <command tag="group">group</command> name to include in the new stack.</p><p>* <command tag="filter">filter</command>: specifies the <glossary tag="wildcard">wildcard expression</glossary>.</p><p>* <command tag="intersect">intersect</command>, <command tag="union">union</command>: specifies which <glossary tag="array">array</glossary> to use.</p><p>* <command tag="launch">launch</command>: specifies the application to use when opening a document with an application.</p><p>* <command tag="open printing">open printing</command>: specifies whether to show the Print <glossary tag="dialog box">dialog box</glossary>.</p><p>* <command tag="replace">replace</command>: specifies the replacement <keyword tag="string">string</keyword>.</p><p>* <command tag="reply">reply</command>, <command tag="request">request</command>: includes an <message tag="appleEvent">AppleEvent</message> keyword.</p><p>* <command tag="send to program">send to program</command>: specifies whether to wait for a response.</p><p>* <command tag="wait">wait</command>: allows <glossary tag="message">messages</glossary> to be sent during the wait.</p><p/><p>When used with the <command tag="combine">combine</command> or <command tag="split">split</command> <glossary tag="command">command</glossary>, the <b>with</b> <glossary tag="keyword">keyword</glossary> is a synonym for <keyword tag="using">using</keyword>.</p>
  </description>
</doc>