lz300 0 Newbie Poster

I'm attempting to emulate the pressing of the F1 key to a remote app. I can do this using sendkeys, but I need the ability to do it using the scancode command.


Here is my current code:

Dim objShell As New WshShell

objShell.AppActivate "Calculator"
objShell.SendKeys "{F1}"


Anyone have any ideas?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.