c# - SendKeys ALT + SPACE -


okay i've done research , know it's not possible send spacebar sendkeys(), , solution use sendkeys(" ").

however, i'm trying send alt + spacebar command window (this combination opens menu , i'm trying copy out text using keystrokes)

i've tried sendkeys.sendwait("%( )"); that's sending space text. i'm stuck here because need actual spacebar pressed while holding alt shortcut work.

you can use following syntax

sendkeys.send("% "); 

where % means alt


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -