(Virtual) key typed/Content of clipboard surrounded by double quotation marks

Hello,

just two questions:
1. What is the cushiest way to get a (virtual) key typed in a window, e. g.
I say "Key Enter" and the result should be {Enter}
My solution so far (the problem are the the curly brackets "{" and "}"):

     Key Enter = "{}" {Left} Enter {Right}

Is there an easier solution?
     Key Enter = "{Enter}" ;

doesn't work.

2. Paste text from clipboard surrounded by double quotation marks, like
"CONTENT OF CLIPBOARD"

     Text Paste = '"'{Strg+v}'"' ;

results to
     "CONTENT OF CLIPBOARD'"'    

Thanks and greetings
Udo

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Good morning Udo, Unimacro

Good morning Udo,

Unimacro is again the answer Smiling

In the grammar _keystrokes you can dictate nearly arbitrary combinations of keystrokes. If you precede them with "code of" the contents of the keystrokes are printed on screen.

So if you say "code of enter", literally {enter| appears on screen.

Your second question I do not understand completely, but all these quotes are not necessary if you insert commands/actions in unimacro.

For those who are thinking what this is all about: unimacro is an extension of the natlink/natpython macro subsystem. With unimacro a lot of additional command grammars are attached to Dragon NaturallySpeaking. More information on the unimacro website. More information on unimacro will be posted here soon.

Greetings, Quintijn

Hello Quintijn, yes, I know

Hello Quintijn,

yes, I know - unimacro...
There are only some days before reincarnation...

Greetings
Udo

udo, While it may have

udo,

While it may have something to do with our crazy Canadian accents, I simply highlight text and then say "copy that" and then when I want to insert it I say "paste that".

Did I misunderstand the question?

John Wickett
Dictated with Dragon NaturallySpeaking Professional Version 8.1
wick...@xplornet.com
902-651-2152
john...@vac-acc.gc.ca
902-368-0141

Hello John, thanks for your

Hello John,

thanks for your answer, but when I mark CANADA and say "copy that", then "paste that" the result is

CANADA

But I want the content of the clipboard surrounded by " (double quotation marks), like...

"CANADA"

...but there seems to be a problem with Vocola...

'"'{Strg+v}'"'

...doesn't work, the result is

"CANADA'"'

Thanks and greetings (from Germany...)
Udo

That does look like a bug.

That does look like a bug. But here's an easy workaround -- use an extra space:

Test Command = '"' {Ctrl+v} '"';

-Rick

FYI, this bug has been fixed

FYI, this bug has been fixed in Vocola 2.5.5.

This thread also seems

This thread also seems relevant:

www.speechcomputing.com/node/999

Graham

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.




view recent posts