In message <[EMAIL PROTECTED]>, Dilwyn Jones 
<[EMAIL PROTECTED]> writes

Hi Dilwyn,

I did something similar to what you aiming at some years ago now with 
recording the actions for controlling a robotic arm.

I used an array - DIM statement - to store the keys being pressed, using 
different letters on the keyboard.

Inside the program, the key presses were then converted to a binary 
number to output to the robotic arm.

In this way, a user was able to input a sequence of their own choosing 
to drive the device.  Once stored, this could be repeated over and over 
again.

Another extension would be write the information to a file, and then be 
able to read it in again at some later time.

>I'm looking to write a little utility to record keypresses as macros,
>if necessary assigning them to a hotkey or altkey for later use.
>
>Some processes mean repeated strings of keypresses, so it may be handy
>to record these keypresses and replay them later with an alt or hot
>key to avoid typing the same commands repeatedly.
>
>Anyone have any idea how best to go about achieving this?

-- 
Malcolm Cadman
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to