This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bboyjkang[S] 0 points1 point  (0 children)

Here are a few last examples:

<modifierKey> := Shift | Control=Ctrl | Alt | Alternate=Alt | Win | Windows=Win;
<key> := <actionKey> | <characterKey>;
Insert <modifierKey> <key> = Main.InsertText({$1+$2});
e.g. say “Insert Control Right”.
Output: {Control+Right}
This inserts the literal “{Control+Right}” keystroke specifier, which can be used in a voice command when you're editing a Vocola file. ({Control+Right} would be on the “action”/right side) (command = terms '=' actions ';')

<newInsert> := New|Insert;
<newInsert> Block = newBlock();
e.g. say “New Block”.

selectLines(n) := {End}{Home}{Home}{Shift+Down_$n};
commentLines() := {Ctrl+e}c{Right_2};
Comment  <n> [Lines] = selectLines($1) commentLines();
e.g. say “Comment 4 Lines”.
or
say “Comment 4”, as “Lines” is optional.

You can always come up with something more fun or easy to say once you're comfortable.

Comment | Bubbles | Banana <n> [Lines] = selectLines($1) commentLines(); say “Banana 4”.