Skip to content

keenua/WinAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinAPI

C# wrapper for WinAPI functions for windows manipulation, registry and mouse/keyboard events

Here's a simple example

            // Find a notepad window
            var win = WindowSearch.GetWindowByText("notepad", "", false, true);

            // Set it foreground
            WindowManipulation.SetForegroundWindow(win);

            Thread.Sleep(500);

            //Type "Hi"
            MouseKeyboard.Type("Hi", 10);

            // Press enter
            MouseKeyboard.PressKey(KeyConstants.VK_RETURN);
            

About

C# wrapper for WinAPI functions for windows manipulation, registry and mouse/keyboard events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages