You can’t simulate keyboard input with PostMessage, revisited If it didn’t go through the input system, it only looks like input as much as the app allows itself to be fooled. Click here to read the article