simulate keystroke in Windows

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

simulate keystroke in Windows

Postby Johan_VH » Tue Apr 18, 2017 10:15 am

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
Johan_VH
 
Posts: 62
Joined: Fri Mar 28, 2014 2:46 pm

Re: simulate keystroke in Windows

Postby Klaus » Tue Apr 18, 2017 11:36 am

Dag Johan,

if you mean a NON LC application, the this is not possible directly from within Livecode.


Best

Klaus
Klaus
 
Posts: 9194
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany

Re: simulate keystroke in Windows

Postby Johan_VH » Tue Apr 18, 2017 12:21 pm

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.
Johan_VH
 
Posts: 62
Joined: Fri Mar 28, 2014 2:46 pm


Return to Windows

Who is online

Users browsing this forum: No registered users and 1 guest