![]() |
KnowBrainer Speech Recognition | ![]() |
Topic Title: How to create a command that presses the print screen button? Topic Summary: Created On: 09/08/2020 11:59 AM Status: Post and Reply |
|
![]() |
|
I want to make a simple command that takes a screenshot by sending a keypress of the "print screen" button on the keyboard. But when I make a new command in Dragon, and then try to send the "print screen" button is a keystroke, Dragon does not recognize that key. ------------------------- Dragon Professional Individual v15.6. Windows 10. Knowbrainer 2017. |
|
|
|
![]() |
|
SendDragonKeys "{PrtSc}"
MDH ------------------------- |
|
|
|
![]() |
|
Thank you. So this is something I will put in a "Advanced Scripting" type of command?
I tried it, and I'm not getting any response... My code looks like this.
Sub Main SendDragonKeys "{PrtSc}" End Sub
It does seem to be successfully registering as a command rather than dictation text, because now when I say "screenshot" it does not type the text. ------------------------- Dragon Professional Individual v15.6. Windows 10. Knowbrainer 2017. |
|
|
|
![]() |
|
When on the screen you want to print, just say, "Press Alt-print-screen."
Cheers ------------------------- Tiger Feet |
|
|
|
![]() |
|
I have an identical command called "take a picture" that works nicely.
Tiger Feet's approach is most elegant. Instead of creating custom commands, say "press print screen" (to capture the entire screen) or "press Alt print screen" (to capture the focused window.) |
|
|
FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.