Skip to content

inazense/simulate-keys-windows-ce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

simulate-keys-windows-ce

How to simulate and send keys in Windows CE applications. This project simulates the key-pressed actions on Windows CE devices sending an hexadecimal code to the choosen process. This code uses Terranova.API

Previous requeriments

How it works

This example gets the name of the process we want to send a key (in this case, the Enter key), set it as foreground window and then send the key.

What I need to change?

You need to replace line 63 on Program.cs, MyProcess.exe by your own process name.

IntPtr myProcessPID = getMyProcessPID("MyProcess.exe");

And in line 60 of same file, you can select what key do you want to simulate. All the possible keys are in Keys.cs. Just replace that line by a key of your preference

byte key = Keys.ENTER;

About

How to simulate and send keys in Windows CE applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages