<a name="l1"></a><span class=cF2>InFiles</span><span class=cF0> are used to generate user input to automate operations. The ZealOS tour is done with an </span><span class=cF2>InFile</span><span class=cF0>. It is akin to a Unix
<a name="l2"></a>pipe because </span><span class=cF2>StdOut</span><span class=cF0> of one gets chained into </span><span class=cF2>StdIn</span><span class=cF0> of another.
<a name="l4"></a>When an </span><span class=cF2>InFile</span><span class=cF0> runs, a child task is </span><a href="https://tomawezome.github.io/ZealOS/Kernel/KTask.html#l264"><span class=cF4>Spawn</span></a><span class=cF0>()ed which intercepts real user input and generates fake input. InFiles are </span><a href="https://tomawezome.github.io/ZealOS/Doc/CosmiC.html#l1"><span class=cF4>CosmiC</span></a><span class=cF0>
<a name="l5"></a>programs run by the child whose stdout goes to the parent's input buffer. </span><a href="https://tomawezome.github.io/ZealOS/Kernel/Job.html#l312"><span class=cF4>Message</span></a><span class=cF0>() can be included in an </span><span class=cF2>InFile</span><span class=cF0> to send
<a name="l6"></a>special keys or mouse cmds to the parent. While an </span><span class=cF2>InFile</span><span class=cF0> is running, the normal input gets diverted to the InFile task and
<a name="l12"></a>Note: </span><a href="https://tomawezome.github.io/ZealOS/Kernel/Job.html#l580"><span class=cF4>In</span></a><span class=cF0>("") can be used if all you need is to send ASCII characters. It differs from </span><a href="https://tomawezome.github.io/ZealOS/Kernel/Job.html#l561"><span class=cF4>InStr</span></a><span class=cF0>(). You'll probably use </span><a href="https://tomawezome.github.io/ZealOS/Kernel/Job.html#l580"><span class=cF4>In</span></a><span class=cF0>() a
<a name="l13"></a>lot and not </span><a href="https://tomawezome.github.io/ZealOS/Kernel/Job.html#l561"><span class=cF4>InStr</span></a><span class=cF0>(). With </span><a href="https://tomawezome.github.io/ZealOS/Kernel/Job.html#l580"><span class=cF4>In</span></a><span class=cF0>(), for example, you can place answers to the prompts for recompiling the </span><span class=cF2>Kernel</span><span class=cF0> module during </span><span class=cF4>