Skip to content

Instantly share code, notes, and snippets.

@chilimangoes
Last active June 6, 2019 23:01
Show Gist options
  • Save chilimangoes/f6ae51ca53d96a19a46c45ecd4b0d296 to your computer and use it in GitHub Desktop.
Save chilimangoes/f6ae51ca53d96a19a46c45ecd4b0d296 to your computer and use it in GitHub Desktop.
Caster example(s)

In the following examples, a comma separates commands that can be strung together into a single utterance, while a semicolon separates commands that must be said as separate utterances (because either the previous or next phrase is not a CCR command).

Example 1:

Dictate the following JavaScript function.

function setStatusText(text) {
    var icon = $('.and-session-extender-connection-status > a.dropdown-toggle');
    icon.attr({ 'title': text });
}

"set format gerrish gum bow; format function, ace, format set status text, prekris, format text, ross wally, ace, curly, shock, format var, ace, format icon, ace equals ace, dolly, prekris, thin quotes, dot, spine bow session extender connection status, ace greater than ace, arch, dot, format dropdown toggle, tau doc, laws gum bow icon dot, arch tango tango romeo, prekris, curly, ace two, lease, thin quotes, format title, ross, deckle, ace, format text, ross wally, semper, save"

Alternately, one could use snippets/templates to make this easier/faster. For example, the following would create the same function definition using a code snippet in Sublime Text.

"set format gerrish gum bow; format fun, tabby, format set status text, tabby, format text, tabby"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment