Thanks; could anyone point me in the right direction to generate said keyboard event?!<br><br>Rob<br><br><div><span class="gmail_quote">On 11/22/06, <b class="gmail_sendername">Bert Freudenberg</b> &lt;<a href="mailto:bert@freudenbergs.de">
bert@freudenbergs.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Nov 22, 2006, at 8:12 , Rob Rothwell wrote:<br>
<br>&gt; Hello--<br>&gt;<br>&gt; I am playing around with a serial port barcode scanner.&nbsp;&nbsp;The<br>&gt; SerialPort class is pretty straightforward and I can read the<br>&gt; input, but is there a way to then turn that input string into
<br>&gt; keystrokes that would just be sent to the active window in Squeak?<br>&gt;<br>&gt; All I really want to do is start a task that watches for serial<br>&gt; input and simulates &quot;global&quot; keystrokes as if the user was typing.
<br>&gt;<br>&gt; I imagine the answer to this question will greatly enhance my<br>&gt; understanding of events in Squeak...!<br><br>Add your generated keyboard event to<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sensor eventQueue<br><br>- Bert -<br>
<br><br></blockquote></div><br><br clear="all"><br>-- <br>The foolish reject what they see, not what they think; the wise reject what they think, not what they see.&nbsp;&nbsp;-- Huang Po