Hi,
I'm looking for a way to simulate a keystroke in a Windows application to an HID device. So not sending a keystroke to an object or another program, but simulate an actual keystroke as you would press a key on a physical keyboard.
Is there any way to do this straight from Livecode or will I have to resort to using a local connection via a socket to a Python script which then takes care of this?
Thanks in advance!
Johan - Belgium
simulate keystroke in Windows
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: simulate keystroke in Windows
Dag Johan,
if you mean a NON LC application, the this is not possible directly from within Livecode.
Best
Klaus
if you mean a NON LC application, the this is not possible directly from within Livecode.
Best
Klaus
Re: simulate keystroke in Windows
Servus Klaus,
it's not an application but an HID device attached to a USB-port, like an Arduino or Raspberry Pi.
Serial communication turns out to be too unreliable, even from Python, so I was looking into the HID direction now.
it's not an application but an HID device attached to a USB-port, like an Arduino or Raspberry Pi.
Serial communication turns out to be too unreliable, even from Python, so I was looking into the HID direction now.