Topic List | Page List: 1 |
---|---|
Topic | excel question |
Sahuagin 10/20/18 12:05:16 AM #7: | you can send key presses to the active window using the .NET SendKeys class https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys?view=netframework-4.7.2 it's a wrapper around the win32 SendInput function, which would be a lot harder to use https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-sendinput you'd have to be in something like C#, VB.NET, or maybe PowerShell to use SendKeys. SendInput would be easiest to call from win32 C++, but you could also call from C# and VB.NET, and maybe from VBA, but it wouldn't be easy. --- ... Copied to Clipboard! |
Topic List | Page List: 1 |