sendkeys to another application in background

eshai

Registered User.
Local time
Today, 16:17
Joined
Jul 14, 2015
Messages
195
hi
my db have to take a snapshot with windows 10 camera app
the hotkey for that is "space"
my problem that i don't want to bring the camera app to foreground
the camera app is running in the background in full screen and access have a main form in maximize

Code:
sendkeys " "
does not work
 
you will be needing an API call to Setfocus on the camera app windows before you can use the Sendkeys.
 
you will be needing an API call to Setfocus on the camera app windows before you can use the Sendkeys.

that well bring the camera app to foreground ammm not solved
 
it may have the Focus , but doesn't mean it will be As Top window?
something like grab the camera window handle, use Sendmessage to invoke it.
 

Users who are viewing this thread

Back
Top Bottom