[Gambas-user] Sending key code (macro recorder)

Bruce Steers bsteers4 at gmail.com
Tue Nov 3 20:01:00 CET 2020


>
> Not sure I understand, look for this:
> Print String.Chr(Key.Code) ' ?
>

No that does not work for down arrow key.

Understanding..
Recording key ascii characters is easy, I have a Key.Text property that has
the character and i can Use Desktop.SendKeys() or Print to write text easy
enough..

But how to record some up and down arrow key events then play them back?
Page up , home, End, etc none of these keys have text only a Key.Code  but
the code seems a bit useless as i can't seem to do anything with it.
gambas functions all seem to want something like Key["DOWN"] and not the
code 65364

Cheers
Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201103/5536f854/attachment.htm>


More information about the User mailing list