Jump to content

Send keystrokes (Ctrl O) use winapi_postmessage

Recommended Posts



I want send key to inactive window ( browser...)  ( Controlsend not work with browser, just work with Notepad)

_WinAPI_PostMessage($whandle, 0x100, $hexCode, 0) ;keydown

This Just only send one key. But i want send upcase A ( shift key with a key) or Ctrl + O....

How i can do it? 

Thank you!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.