MENU "Global Commands" { STATE "Global Commands" GLOBAL { COMMAND "Go to Sleep" { SCRIPT "GoToSleep" } COMMAND "Microphone Off" { SCRIPT "SetMicrophone 0" } COMMAND "Copy All to Clipboard" { KEYS { {Ctrl+a}{Ctrl+c} } } COMMAND "Paste That" { SCRIPT { SendKeys "{Ctrl+v}" } } COMMAND "Undo That" { SCRIPT { SendKeys "{Ctrl+z}" } } COMMAND "Undo Last Action" { SCRIPT { SendKeys "{Ctrl+z}" } } COMMAND "Scratch That <2To10> Times" { SCRIPT { loop& = Val(_arg1) while ( loop& ) HeardWord "Scratch","That" loop& = loop& - 1 wend } } COMMAND "Backspace" { KEYS { {Backspace} } } COMMAND "Backspace <2To20>" { SCRIPT { SendKeys "{Backspace "+_arg1+"}" } } COMMAND "" { SCRIPT { SendSystemKeys "{Ctrl+Esc}" } } COMMAND " Next Tab" { SCRIPT { SendSystemKeys "{Ctrl+Tab}" } } COMMAND " Previous Tab" { SCRIPT { SendSystemKeys "{Shift+Ctrl+Tab}" } } COMMAND "Switch to " { SCRIPT { if _arg1 = "NatSpeak" then AppBringUp "NatSpeak" if _arg1 = "NaturallySpeaking" then AppBringUp "NatSpeak" if _arg1 = "Next Window" then SendSystemKeys "{Shift+Alt+Tab}" if _arg1 = "Previous Window" then SendSystemKeys "{Alt+Tab}" } } COMMAND "Move 1" { SCRIPT { SendKeys "{" + _arg1 + "}" } } COMMAND "Move Character" { SCRIPT { if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" SendKeys "{" + _arg1 + "}" } } COMMAND "Move Line" { SCRIPT { if _arg1 = "Back" then _arg1 = "Up" if _arg1 = "Forward" then _arg1 = "Down" SendKeys "{" + _arg1 + "}" } } COMMAND "Move <2To20>" { SCRIPT { SendKeys "{" + _arg1 + " " + _arg2 + "}" } } COMMAND "Move <2To20> Characters" { SCRIPT { if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" SendKeys "{" + _arg1 + " " + _arg2 + "}" } } COMMAND "Move <2To20> Lines" { SCRIPT { if _arg1 = "Back" then _arg1 = "Up" if _arg1 = "Forward" then _arg1 = "Down" SendKeys "{" + _arg1 + " " + _arg2 + "}" } } COMMAND "Select Character" { SCRIPT { if _arg1 = "Previous" then _arg1 = "Left" if _arg1 = "Next" then _arg1 = "Right" if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" if _arg1 = "Last" then _arg1 = "Left" SendKeys "{Shift+" + _arg1 + "}" } } COMMAND "Select 1 Character" { SCRIPT { if _arg1 = "Previous" then _arg1 = "Left" if _arg1 = "Next" then _arg1 = "Right" if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" if _arg1 = "Last" then _arg1 = "Left" SendKeys "{Shift+" + _arg1 + "}" } } COMMAND "Select <2To20> Characters" { SCRIPT { if _arg1 = "Previous" then _arg1 = "Left" if _arg1 = "Next" then _arg1 = "Right" if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" if _arg1 = "Last" then _arg1 = "Left" SendKeys "{Shift+" + _arg1 + " " + _arg2 + "}" } } COMMAND "Delete Character" { SCRIPT { if _arg1 = "Previous" then SendKeys "{Backspace}" if _arg1 = "Next" then SendKeys "{Del}" if _arg1 = "Back" then SendKeys "{Backspace}" if _arg1 = "Forward" then SendKeys "{Del}" if _arg1 = "Last" then SendKeys "{Backspace}" } } COMMAND "Delete 1 Character" { SCRIPT { if _arg1 = "Previous" then SendKeys "{Backspace}" if _arg1 = "Next" then SendKeys "{Del}" if _arg1 = "Back" then SendKeys "{Backspace}" if _arg1 = "Forward" then SendKeys "{Del}" if _arg1 = "Last" then SendKeys "{Backspace}" } } COMMAND "Delete <2To20> Characters" { SCRIPT { if _arg1 = "Previous" then _arg1 = "Backspace" if _arg1 = "Next" then _arg1 = "Del" if _arg1 = "Back" then _arg1 = "Backspace" if _arg1 = "Forward" then _arg1 = "Del" if _arg1 = "Last" then _arg1 = "Backspace" SendKeys "{" + _arg1 + " " + _arg2 + "}" } } COMMAND "Go to Bottom" { KEYS { {Ctrl+End} } } COMMAND "Go to Top" { KEYS { {Ctrl+Home} } } COMMAND " of " { SCRIPT { if _arg2 = "Beginning" then _arg2 = "Left" if _arg2 = "Start" then _arg2 = "Left" if _arg2 = "End" then _arg2 = "Right" if _arg2 = "Top" then _arg2 = "Left" if _arg2 = "Bottom" then _arg2 = "Right" if _arg3 = "Selection" then SendKeys "{"+_arg2+"}" if _arg3 = "Line" and _arg2 = "Left" then SendKeys "{Home}" if _arg3 = "Line" and _arg2 = "Right" then SendKeys "{End}{Left}{End}" if _arg3 = "Paragraph" and _arg2 = "Left" then SendKeys "{Ctrl+Up}{Right}{Home}" if _arg3 = "Paragraph" and _arg2 = "Right" then SendKeys "{Ctrl+Down}{Left 2}{End}" if _arg3 = "Document" and _arg2 = "Left" then SendKeys "{Ctrl+Home}" if _arg3 = "Document" and _arg2 = "Right" then SendKeys "{Ctrl+End}" } } COMMAND "Move Word" { SCRIPT { if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" SendKeys "{Ctrl+" + _arg1 + "}" } } COMMAND "Move Paragraph" { SCRIPT { if _arg1 = "Back" then _arg1 = "Up" if _arg1 = "Forward" then _arg1 = "Down" if _arg1 = "Up" then _dir$ = "Left" if _arg1 = "Down" then _dir$ = "Right" SendKeys "{" + _dir$ + "}{Ctrl+" + _arg1 + "}" } } COMMAND "Move <2To20> Words" { SCRIPT { if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" SendKeys "{Ctrl+" + _arg1 + " " + _arg2 + "}" } } COMMAND "Move <2To20> Paragraphs" { SCRIPT { if _arg1 = "Back" then _arg1 = "Up" if _arg1 = "Forward" then _arg1 = "Down" if _arg1 = "Up" then _dir$ = "Left" if _arg1 = "Down" then _dir$ = "Right" loop& = Val(_arg2) while ( loop& ) SendKeys "{" + _dir$ + "}{Ctrl+" + _arg1 + "}" loop& = loop& - 1 wend } } COMMAND "Select Paragraph" { KEYS { {Ctrl+Down}{Shift+Ctrl+Up} } } COMMAND "Select Word" { KEYS { {Ctrl+Right}{Shift+Ctrl+Left} } } COMMAND "Select Line" { KEYS { {Home}{Shift+End} } } COMMAND "Select Document" { KEYS { {Ctrl+a} } } COMMAND "Select All" { KEYS { {Ctrl+a} } } COMMAND " Word" { SCRIPT { if _arg2 = "Previous" then SendKeys "{Left}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg2 = "Next" then SendKeys "{Right}{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Back" then SendKeys "{Left}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg2 = "Forward" then SendKeys "{Right}{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Last" then SendKeys "{Left}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " 1 Word" { SCRIPT { if _arg2 = "Previous" then SendKeys "{Left}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg2 = "Next" then SendKeys "{Right}{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Back" then SendKeys "{Left}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg2 = "Forward" then SendKeys "{Right}{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Last" then SendKeys "{Left}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " Paragraph" { SCRIPT { if _arg2 = "Previous" then _dirv$ = "Up" if _arg2 = "Next" then _dirv$ = "Down" if _arg2 = "Back" then _dirv$ = "Up" if _arg2 = "Forward" then _dirv$ = "Down" if _arg2 = "Last" then _dirv$ = "Up" if _dirv$ = "Up" then _dirh$ = "Left" if _dirv$ = "Down" then _dirh$ = "Right" SendKeys "{Left}{Ctrl+Down}" SendKeys "{Shift+" + _dirh$ + "}{Shift+Ctrl+" + _dirv$ + "}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " 1 Paragraph" { SCRIPT { if _arg2 = "Previous" then _dirv$ = "Up" if _arg2 = "Next" then _dirv$ = "Down" if _arg2 = "Back" then _dirv$ = "Up" if _arg2 = "Forward" then _dirv$ = "Down" if _arg2 = "Last" then _dirv$ = "Up" if _dirv$ = "Up" then _dirh$ = "Left" if _dirv$ = "Down" then _dirh$ = "Right" SendKeys "{Left}{Ctrl+Down}" SendKeys "{Shift+" + _dirh$ + "}{Shift+Ctrl+" + _dirv$ + "}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " <2To20> Words" { SCRIPT { if _arg2 = "Previous" then SendKeys "{Left}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}" if _arg2 = "Next" then SendKeys "{Right}{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right " +_arg3+ "}" if _arg2 = "Back" then SendKeys "{Left}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}" if _arg2 = "Forward" then SendKeys "{Right}{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right " +_arg3+ "}" if _arg2 = "Last" then SendKeys "{Left}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " <2To20> Paragraphs" { SCRIPT { if _arg2 = "Previous" then _dirv$ = "Up" if _arg2 = "Next" then _dirv$ = "Down" if _arg2 = "Back" then _dirv$ = "Up" if _arg2 = "Forward" then _dirv$ = "Down" if _arg2 = "Last" then _dirv$ = "Up" if _dirv$ = "Up" then _dirh$ = "Left" if _dirv$ = "Down" then _dirh$ = "Right" SendKeys "{Left}{Ctrl+Down}" loop& = Val(_arg3) while ( loop& ) SendKeys "{Shift+" + _dirh$ + "}{Shift+Ctrl+" + _dirv$ + "}" loop& = loop& - 1 wend if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND "What Can I Say" { SCRIPT { offset& = 65536 id& = 603 WinHelp "Wcisbase.hlp>(w95sec)", 11 } } COMMAND "Give-Me Help" { SCRIPT { WinHelp "Dragon.hlp", 11 } } COMMAND "" { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse& } } COMMAND " <1To9>" { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 } } COMMAND " <1To9> <1To9>" { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 } } COMMAND " <1To9> <1To9> <1To9>" { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 } } COMMAND " <1To9> <1To9> <1To9> <1To9>" { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 MouseGrid nMouse&, _arg5 } } COMMAND " <1To9> <1To9> <1To9> <1To9> <1To9>" { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 MouseGrid nMouse&, _arg5 MouseGrid nMouse&, _arg6 } } COMMAND "Mouse " { SCRIPT { if _arg1 = "Click" then ButtonClick 1,1 if _arg1 = "Double Click" then ButtonClick 1,2 if _arg1 = "Left Click" then ButtonClick 1,1 if _arg1 = "Right Click" then ButtonClick 2,1 if _arg1 = "Mark" then RememberPoint MouseGrid 0 end if if _arg1 = "Go" then MouseGrid 0 if _arg1 = "Drag" then DragToPoint 1 if _arg1 = "Shift Drag" then ShiftKey 1,1 DragToPoint 1 ShiftKey 1,0 end if if _arg1 = "Control Drag" then ShiftKey 2,1 DragToPoint 1 ShiftKey 2,0 end if } } COMMAND " <1To9> " { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 Wait 10 HeardWord "Mouse", _arg3 } } COMMAND " <1To9> <1To9> " { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 Wait 10 HeardWord "Mouse", _arg4 } } COMMAND " <1To9> <1To9> <1To9> " { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 Wait 10 HeardWord "Mouse", _arg5 } } COMMAND " <1To9> <1To9> <1To9> <1To9> " { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 MouseGrid nMouse&, _arg5 Wait 10 HeardWord "Mouse", _arg6 } } COMMAND " <1To9> <1To9> <1To9> <1To9> <1To9> " { SCRIPT { nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 MouseGrid nMouse&, _arg5 MouseGrid nMouse&, _arg6 Wait 10 HeardWord "Mouse", _arg7 } } COMMAND "Mouse <1To10>" { SCRIPT { MouseGrid 0 xPos& = 0 yPos& = 0 nDistance& = Val( _arg2 ) * 3 if _arg1 = "Up" then yPos& = yPos& - nDistance& if _arg1 = "Down" then yPos& = yPos& + nDistance& if _arg1 = "Left" then xPos& = xPos& - nDistance& if _arg1 = "Right" then xPos& = xPos& + nDistance& SetMousePosition 2, xPos&, yPos& } } COMMAND "Mouse <1To10> " { SCRIPT { HeardWord "Mouse", _arg1, _arg2 Wait 10 HeardWord "Mouse", _arg3 } } COMMAND " " { SCRIPT { SendSystemKeys MID$(_arg2,0,1) } } COMMAND " Cap " { SCRIPT { SendSystemKeys "{Shift+"+MID$(_arg2,0,1)+"}" } } COMMAND " " { SCRIPT { SendSystemKeys MID$(_arg2,0,1) } } COMMAND " Cap " { SCRIPT { SendSystemKeys "{Shift+"+MID$(_arg2,0,1)+"}" } } COMMAND " " { SCRIPT { SendSystemKeys MID$(_arg2,0,1) } } COMMAND " Cap " { SCRIPT { SendSystemKeys "{Shift+"+MID$(_arg2,0,1)+"}" } } COMMAND " " { SCRIPT { if _arg2 = "zero" then _arg2 = "0" SendSystemKeys _arg2 } } COMMAND " " { SCRIPT { SendSystemKeys _arg2 } } COMMAND " " { SCRIPT { if _arg2 = "up-arrow" then SendSystemKeys "{Up}" if _arg2 = "down-arrow" then SendSystemKeys "{Down}" if _arg2 = "left-arrow" then SendSystemKeys "{Left}" if _arg2 = "right-arrow" then SendSystemKeys "{Right}" if _arg2 = "home-key" then SendSystemKeys "{Home}" if _arg2 = "end-key" then SendSystemKeys "{End}" if _arg2 = "page-up" then SendSystemKeys "{PgUp}" if _arg2 = "page-down" then SendSystemKeys "{PgDn}" if _arg2 = "insert-key" then SendSystemKeys "{Ins}" if _arg2 = "delete-key" then SendSystemKeys "{Del}" } } COMMAND " " { SCRIPT { if _arg2 = "function-1" then SendSystemKeys "{F1}" if _arg2 = "function-2" then SendSystemKeys "{F2}" if _arg2 = "function-3" then SendSystemKeys "{F3}" if _arg2 = "function-4" then SendSystemKeys "{F4}" if _arg2 = "function-5" then SendSystemKeys "{F5}" if _arg2 = "function-6" then SendSystemKeys "{F6}" if _arg2 = "function-7" then SendSystemKeys "{F7}" if _arg2 = "function-8" then SendSystemKeys "{F8}" if _arg2 = "function-9" then SendSystemKeys "{F9}" if _arg2 = "function-10" then SendSystemKeys "{F10}" if _arg2 = "function-11" then SendSystemKeys "{F11}" if _arg2 = "function-12" then SendSystemKeys "{F12}" } } COMMAND " " { SCRIPT { if _arg2 = "space-bar" then SendSystemKeys "{Space}" if _arg2 = "tab-key" then SendSystemKeys "{Tab}" if _arg2 = "escape-key" then SendSystemKeys "{Esc}" if _arg2 = "backspace-key" then SendSystemKeys "{BackSpace}" if _arg2 = "enter-key" then SendSystemKeys "{Enter}" if _arg2 = "caps-lock" then SendSystemKeys "{CapsLock}" if _arg2 = "print-screen" then SendSystemKeys "{Prtsc}" if _arg2 = "scroll-lock" then SendSystemKeys "{ScrollLock}" if _arg2 = "pause-key" then SendSystemKeys "{Pause}" if _arg2 = "num-lock" then SendSystemKeys "{NumLock}" } } COMMAND " " { SCRIPT { if _arg3 = "0" then SendSystemKeys "{NumKey0}" if _arg3 = "1" then SendSystemKeys "{NumKey1}" if _arg3 = "2" then SendSystemKeys "{NumKey2}" if _arg3 = "3" then SendSystemKeys "{NumKey3}" if _arg3 = "4" then SendSystemKeys "{NumKey4}" if _arg3 = "5" then SendSystemKeys "{NumKey5}" if _arg3 = "6" then SendSystemKeys "{NumKey6}" if _arg3 = "7" then SendSystemKeys "{NumKey7}" if _arg3 = "8" then SendSystemKeys "{NumKey8}" if _arg3 = "9" then SendSystemKeys "{NumKey9}" if _arg3 = "period" then SendSystemKeys "{NumKey.}" if _arg3 = "point" then SendSystemKeys "{NumKey.}" if _arg3 = "dot" then SendSystemKeys "{NumKey.}" if _arg3 = "slash" then SendSystemKeys "{NumKey/}" if _arg3 = "asterisk" then SendSystemKeys "{NumKey*}" if _arg3 = "star" then SendSystemKeys "{NumKey*}" if _arg3 = "minus" then SendSystemKeys "{NumKey-}" if _arg3 = "plus" then SendSystemKeys "{NumKey+}" if _arg3 = "enter" then SendSystemKeys "{NumKeyEnter}" if _arg3 = "enter-key" then SendSystemKeys "{NumKeyEnter}" } } COMMAND " " { SCRIPT { tstr = "{" if Instr(_arg2, "control-key") > 0 then tstr = tstr + "Ctrl+" if Instr(_arg2, "alt-key") > 0 then tstr = tstr + "Alt+" if Instr(_arg2, "shift-key") > 0 then tstr = tstr + "Shift+" tstr = tstr + MID$(_arg3,0,1) + "}" SendSystemKeys tstr } } COMMAND " " { SCRIPT { tstr = "{" if Instr(_arg2, "control-key") > 0 then tstr = tstr + "Ctrl+" if Instr(_arg2, "alt-key") > 0 then tstr = tstr + "Alt+" if Instr(_arg2, "shift-key") > 0 then tstr = tstr + "Shift+" tstr = tstr + MID$(_arg3,0,1) + "}" SendSystemKeys tstr } } COMMAND " " { SCRIPT { tstr = "{" if Instr(_arg2, "control-key") > 0 then tstr = tstr + "Ctrl+" if Instr(_arg2, "alt-key") > 0 then tstr = tstr + "Alt+" if Instr(_arg2, "shift-key") > 0 then tstr = tstr + "Shift+" tstr = tstr + MID$(_arg3,0,1) + "}" SendSystemKeys tstr } } COMMAND " " { SCRIPT { tstr = "{" if Instr(_arg2, "control-key") > 0 then tstr = tstr + "Ctrl+" if Instr(_arg2, "alt-key") > 0 then tstr = tstr + "Alt+" if Instr(_arg2, "shift-key") > 0 then tstr = tstr + "Shift+" if _arg3 = "zero" then _arg3 = "0" tstr = tstr + _arg3 + "}" SendSystemKeys tstr } } COMMAND " " { SCRIPT { tstr = "{" if Instr(_arg2, "control-key") > 0 then tstr = tstr + "Ctrl+" if Instr(_arg2, "alt-key") > 0 then tstr = tstr + "Alt+" if Instr(_arg2, "shift-key") > 0 then tstr = tstr + "Shift+" tstr = tstr + _arg3 + "}" SendSystemKeys tstr } } COMMAND " " { SCRIPT { tstr = "{" if Instr(_arg2, "control-key") > 0 then tstr = tstr + "Ctrl+" if Instr(_arg2, "alt-key") > 0 then tstr = tstr + "Alt+" if Instr(_arg2, "shift-key") > 0 then tstr = tstr + "Shift+" if _arg3 = "up-arrow" then tstr = tstr + "Up}" if _arg3 = "down-arrow" then tstr = tstr + "Down}" if _arg3 = "left-arrow" then tstr = tstr + "Left}" if _arg3 = "right-arrow" then tstr = tstr + "Right}" if _arg3 = "home-key" then tstr = tstr + "Home}" if _arg3 = "end-key" then tstr = tstr + "End}" if _arg3 = "page-up" then tstr = tstr + "PgUp}" if _arg3 = "page-down" then tstr = tstr + "PgDn}" if _arg3 = "insert-key" then tstr = tstr + "Ins}" if _arg3 = "delete-key" then tstr = tstr + "Del}" SendSystemKeys tstr } } COMMAND " " { SCRIPT { tstr = "{" if Instr(_arg2, "control-key") > 0 then tstr = tstr + "Ctrl+" if Instr(_arg2, "alt-key") > 0 then tstr = tstr + "Alt+" if Instr(_arg2, "shift-key") > 0 then tstr = tstr + "Shift+" if _arg3 = "function-1" then tstr = tstr + "F1}" if _arg3 = "function-2" then tstr = tstr + "F2}" if _arg3 = "function-3" then tstr = tstr + "F3}" if _arg3 = "function-4" then tstr = tstr + "F4}" if _arg3 = "function-5" then tstr = tstr + "F5}" if _arg3 = "function-6" then tstr = tstr + "F6}" if _arg3 = "function-7" then tstr = tstr + "F7}" if _arg3 = "function-8" then tstr = tstr + "F8}" if _arg3 = "function-9" then tstr = tstr + "F9}" if _arg3 = "function-10" then tstr = tstr + "F10}" if _arg3 = "function-11" then tstr = tstr + "F11}" if _arg3 = "function-12" then tstr = tstr + "F12}" SendSystemKeys tstr } } COMMAND " " { SCRIPT { tstr = "{" if Instr(_arg2, "control-key") > 0 then tstr = tstr + "Ctrl+" if Instr(_arg2, "alt-key") > 0 then tstr = tstr + "Alt+" if Instr(_arg2, "shift-key") > 0 then tstr = tstr + "Shift+" if _arg3 = "space-bar" then tstr = tstr + "Space}" if _arg3 = "tab-key" then tstr = tstr + "Tab}" if _arg3 = "escape-key" then tstr = tstr + "Esc}" if _arg3 = "backspace-key" then tstr = tstr + "BackSpace}" if _arg3 = "enter-key" then tstr = tstr + "Enter}" if _arg3 = "caps-lock" then tstr = tstr + "CapsLock}" if _arg3 = "print-screen" then tstr = tstr + "Prtsc}" if _arg3 = "scroll-lock" then tstr = tstr + "ScrollLock}" if _arg3 = "pause-key" then tstr = tstr + "Pause}" if _arg3 = "num-lock" then tstr = tstr + "NumLock}" SendSystemKeys tstr } } COMMAND " " { SCRIPT { tstr = "{" if Instr(_arg2, "control-key") > 0 then tstr = tstr + "Ctrl+" if Instr(_arg2, "alt-key") > 0 then tstr = tstr + "Alt+" if Instr(_arg2, "shift-key") > 0 then tstr = tstr + "Shift+" if _arg4 = "0" then tstr = tstr + "NumKey0}" if _arg4 = "1" then tstr = tstr + "NumKey1}" if _arg4 = "2" then tstr = tstr + "NumKey2}" if _arg4 = "3" then tstr = tstr + "NumKey3}" if _arg4 = "4" then tstr = tstr + "NumKey4}" if _arg4 = "5" then tstr = tstr + "NumKey5}" if _arg4 = "6" then tstr = tstr + "NumKey6}" if _arg4 = "7" then tstr = tstr + "NumKey7}" if _arg4 = "8" then tstr = tstr + "NumKey8}" if _arg4 = "9" then tstr = tstr + "NumKey9}" if _arg4 = "period" then tstr = tstr + "NumKey.}" if _arg4 = "point" then tstr = tstr + "NumKey.}" if _arg4 = "dot" then tstr = tstr + "NumKey.}" if _arg4 = "slash" then tstr = tstr + "NumKey/}" if _arg4 = "asterisk" then tstr = tstr + "NumKey*}" if _arg4 = "star" then tstr = tstr + "NumKey*}" if _arg4 = "minus" then tstr = tstr + "NumKey-}" if _arg4 = "plus" then tstr = tstr + "NumKey+}" if _arg4 = "enter" then tstr = tstr + "NumKeyEnter}" if _arg4 = "enter-key" then tstr = tstr + "NumKeyEnter}" SendSystemKeys tstr } } COMMAND "Command Save File" { KEYS { {Alt+f}s } } COMMAND "Command Print File" { KEYS { {Alt+f}p } } COMMAND "Command Close File" { KEYS { {Alt+f}c } } COMMAND "Command Exit Program" { KEYS { {Alt+f}x } } COMMAND "Command New Window" { KEYS { {Alt+f}n } } COMMAND "Command Open File" { KEYS { {Alt+f}o } } LIST "StartMenu" { "Click Start" "Click Start Menu" } LIST "MoveToClick" { "Move To" "Go To" "Click" } LIST "AppList" { "NatSpeak" "NaturallySpeaking" "Next Window" "Previous Window" } LIST "MoveTo" { "Go to" "Move to" } LIST "Position" { "Beginning" "Start" "Top" "Bottom" "End" } LIST "Text" { "Selection" "Line" "Paragraph" "Document" } LIST "DirLeftRight" { "Left" "Right" "Back" "Forward" } LIST "DirUpDown" { "Up" "Down" "Back" "Forward" } LIST "SelectOrDelete" { "Select" "Delete" } LIST "NextOrPrevious" { "Previous" "Next" "Back" "Forward" "Last" } LIST "One" { "a" "1" } LIST "2To20" { "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" } LIST "Direction" { "Left" "Right" "Up" "Down" } LIST "2To10" { "2" "3" "4" "5" "6" "7" "8" "9" "10" } LIST "Mouse" { "Mouse" "MouseGrid" "Mouse Window" "MouseGrid Window" } LIST "MouseGrid" { "MouseGrid" "Mouse Window" "MouseGrid Window" } LIST "1To9" { "1" "2" "3" "4" "5" "6" "7" "8" "9" } LIST "1To10" { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" } LIST "MouseAction" { "Click" "Double Click" "Drag" "Go" "Mark" "Left Click" "Right Click" "Control Drag" "Shift Drag" } LIST "Alphabet" { "a\\a" "b\\b" "c\\c" "d\\d" "e\\e" "f\\f" "g\\g" "h\\h" "i\\i" "j\\j" "k\\k" "l\\l" "m\\m" "n\\n" "o\\o" "p\\p" "q\\q" "r\\r" "s\\s" "t\\t" "u\\u" "v\\v" "w\\w" "x\\x" "y\\y" "z\\z" } LIST "ICAlphabet" { "a\\alpha" "b\\bravo" "c\\charlie" "d\\delta" "e\\echo" "f\\foxtrot" "g\\golf" "h\\hotel" "i\\india" "j\\juliett" "k\\kilo" "l\\lima" "m\\mike" "n\\november" "o\\oscar" "p\\papa" "q\\quebec" "r\\romeo" "s\\sierra" "t\\tango" "u\\uniform" "v\\victor" "w\\whiskey" "x\\xray" "y\\yankee" "z\\zulu" } LIST "HelperAlphabet" { "a\\a as in alpha" "a\\a as in Albert" "a\\a as in Alice" "b\\b as in bravo" "b\\b as in Bill" "b\\b as in Buffalo" "c\\c as in charlie" "c\\c as in Cathy" "c\\c as in Carl" "d\\d as in delta" "d\\d as in David" "d\\d as in daughter" "e\\e as in echo" "e\\e as in Edgar" "e\\e as in enter" "f\\f as in foxtrot" "f\\f as in Frank" "f\\f as in fancy" "g\\g as in golf" "g\\g as in George" "g\\g as in gopher" "h\\h as in hotel" "h\\h as in Henry" "h\\h as in helmet" "i\\i as in india" "i\\i as in Iris" "i\\i as in Ireland" "j\\j as in Juliet" "j\\j as in John" "j\\j as in Justice" "k\\k as in kilo" "k\\k as in Karen" "k\\k as in kitchen" "l\\l as in lima" "l\\l as in Larry" "l\\l as in lemon" "m\\m as in mike" "m\\m as in Mickey" "m\\m as in magic" "n\\n as in november" "n\\n as in Nancy" "n\\n as in nobody" "o\\o as in oscar" "o\\o as in Otto" "o\\o as in over" "p\\p as in papa" "p\\p as in Paul" "p\\p as in people" "q\\q as in quebec" "q\\q as in Quentin" "q\\q as in question" "r\\r as in romeo" "r\\r as in Rachael" "r\\r as in Robert" "s\\s as in sierra" "s\\s as in Sam" "s\\s as in Singapore" "t\\t as in tango" "t\\t as in Terry" "t\\t as in Tyler" "t\\t as in teflon" "u\\u as in uniform" "u\\u as in Ursula" "u\\u as in usual" "v\\v as in victor" "v\\v as in Valerie" "v\\v as in visit" "w\\w as in whiskey" "w\\w as in Wendy" "w\\w as in wake" "x\\x as in x-ray" "x\\x as in Xavier" "x\\x as in Xerxes" "y\\y as in yankee" "y\\y as in Yolanda" "y\\y as in Yvonne" "z\\z as in zulu" "z\\z as in Zachary" "z\\z as in Zookeeper" } LIST "Numeral" { "zero" "1" "2" "3" "4" "5" "6" "7" "8" "9" } LIST "Character" { "!" "@" "#" "$" "%" "^" "&" "*" "(" ")" "`" "~" "-" "_" "=" "+" "\\" "|" "[" "{" "]" "}" ";" ":" "'" "\"" "," "<" "." ">" "/" "?" } LIST "Cursor" { "up-arrow" "down-arrow" "left-arrow" "right-arrow" "home-key" "end-key" "page-up" "page-down" "insert-key" "delete-key" } LIST "Miscellaneous" { "space-bar" "tab-key" "escape-key" "backspace-key" "enter-key" "caps-lock" "print-screen" "scroll-lock" "pause-key" "num-lock" } LIST "FunctionKey" { "function-1" "function-2" "function-3" "function-4" "function-5" "function-6" "function-7" "function-8" "function-9" "function-10" "function-11" "function-12" } LIST "NumPadKey" { "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "period" "point" "slash" "star" "asterisk" "minus" "plus" "enter" "enter-key" } LIST "KeyPad" { "Key Pad" "NUM Pad" } LIST "ShiftKey" { "shift-key" "control-key" "alt-key" "shift-key control-key" "control-key shift-key" "alt-key shift-key" "shift-key alt-key" "control-key alt-key" "alt-key control-key" "shift-key control-key alt-key" "control-key shift-key alt-key" "alt-key shift-key control-key" "shift-key alt-key control-key" "control-key alt-key shift-key" "alt-key control-key shift-key" } LIST "PressKey" { "Press" "Press Key" "Keystroke" "Type" } } STATE "Asleep" GLOBAL SLEEPING { COMMAND "Wake Up" { SCRIPT "WakeUp" } } } MENU "NATSPEAK" { STATE "Dragon NaturallySpeaking" { COMMAND "Select That" { SCRIPT { SendKeys "{Ctrl+t}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg3 = "Plain" then _arg3 = "Regular" if _arg3 = "Plain text" then _arg3 = "Regular" if _arg3 = "Underline" then _arg3 = "{Alt+u}" if _arg3 = "Italics" then _arg3 = "Italic" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Alt+y}" + _arg3 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+y}" + _arg2 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Regular" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain Text" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Underline" then _arg1 = "{Ctrl+u}" if _arg1 = "Italics" then _arg1 = "{Ctrl+i}" if _arg1 = "Bold" then _arg1 = "{Ctrl+b}" SendKeys _arg1 } } COMMAND "Set Size " { SCRIPT { SendKeys "{Alt+o}f{Alt+s}" SendKeys _arg1 SendKeys "{Enter}" } } COMMAND "Format That Size " { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+s}" SendKeys _arg1 SendKeys "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Point" { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+s}" SendKeys _arg1 SendKeys "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+s}" SendKeys _arg1 if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain Text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Alt+y}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Point " { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+s}" SendKeys _arg1 if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain Text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Alt+y}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Regular" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain Text" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Underline" then _arg1 = "{Ctrl+u}" if _arg1 = "Italics" then _arg1 = "{Ctrl+i}" if _arg1 = "Bold" then _arg1 = "{Ctrl+b}" SendKeys "{Ctrl+t}" SendKeys _arg1 SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Point" { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg3 = "Plain" then _arg3 = "Regular" if _arg3 = "Plain text" then _arg3 = "Regular" if _arg3 = "Underline" then _arg3 = "{Alt+u}" if _arg3 = "Italics" then _arg3 = "Italic" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Alt+y}" + _arg3 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+y}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Capitals" then _arg1 = "Cap" if _arg1 = "Initial Caps" then _arg1 = "Cap" if _arg1 = "Caps" then _arg1 = "Cap" if _arg1 = "Uppercase" then _arg1 = "All-Caps" if _arg1 = "Lowercase" then _arg1 = "No-Caps" if _arg1 = "Cap" then HeardWord "\Cap","That" if _arg1 = "All-Caps" then HeardWord "\All-Caps","That" if _arg1 = "No-Caps" then HeardWord "\No-Caps","That" if _arg1 = "With Hyphens" then HeardWord "Hyphenate","That" if _arg1 = "Without Spaces" then HeardWord "Compound","That" if _arg1 = "Centered" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Center Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Left Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+l}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Right Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+r}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Bullet Style" then SendKeys "{Ctrl+t}" SendKeys "{Alt+o}b" SendKeys "{Shift+Ctrl+r}" end if } } COMMAND "Format That and " { SCRIPT { HeardWord "Format","That",_arg2 if _arg1 = "Capitals" then _arg1 = "Cap" if _arg1 = "Initial Caps" then _arg1 = "Cap" if _arg1 = "Caps" then _arg1 = "Cap" if _arg1 = "Uppercase" then _arg1 = "All-Caps" if _arg1 = "Lowercase" then _arg1 = "No-Caps" if _arg1 = "Cap" then HeardWord "\Cap","That" if _arg1 = "All-Caps" then HeardWord "\All-Caps","That" if _arg1 = "No-Caps" then HeardWord "\No-Caps","That" if _arg1 = "With Hyphens" then HeardWord "Hyphenate","That" if _arg1 = "Without Spaces" then HeardWord "Compound","That" if _arg1 = "Centered" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Center Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Left Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+l}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Right Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+r}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Bullet Style" then SendKeys "{Ctrl+t}" SendKeys "{Alt+o}b" SendKeys "{Shift+Ctrl+r}" end if } } COMMAND "Format That and " { SCRIPT { if _arg1 = "Regular" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain Text" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Underline" then _arg1 = "{Ctrl+u}" if _arg1 = "Italics" then _arg1 = "{Ctrl+i}" if _arg1 = "Bold" then _arg1 = "{Ctrl+b}" SendKeys "{Ctrl+t}" SendKeys _arg1 SendKeys "{Shift+Ctrl+r}" HeardWord "Format","That",_arg2 } } COMMAND " " { SCRIPT { if _arg1 = "Cut" then key$ = "{Ctrl+x}" if _arg1 = "Copy" then key$ = "{Ctrl+c}" if _arg1 = "Bold" then key$ = "{Ctrl+b}" if _arg1 = "Italicize" then key$ = "{Ctrl+i}" if _arg1 = "Underline" then key$ = "{Ctrl+u}" if _arg1 = "Center" then key$ = "{Ctrl+e}" if _arg1 = "Left Align" then key$ = "{Ctrl+l}" if _arg1 = "Right Align" then key$ = "{Ctrl+r}" if _arg1 = "Delete" then key$ = "{Del}" if _arg1 = "Restore" then key$ = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg2 = "That" then SendKeys "{Ctrl+t}" SendKeys key$ if _arg2 = "That" then SendKeys "{Shift+Ctrl+r}" } } COMMAND "What Can I Say" { SCRIPT { offset& = 65536 id& = 602 WinHelp "Wcisbase.hlp>(w95sec)", 11 } } COMMAND "Play That Back" { SCRIPT { SendKeys "{Shift+Ctrl+s}" } } COMMAND " " { SCRIPT { key$ = "Shift" if _arg1 = "Read" then key$ = "Alt" if _arg2 = "That" or _arg2 = "Selection" then SendKeys "{Ctrl+"+key$+"+s}" if _arg2 = "To Here" or _arg2 = "Up To Here" then SendKeys "{Ctrl+"+key$+"+t}" if _arg2 = "From Here" or _arg2 = "Down From Here" then SendKeys "{Ctrl+"+key$+"+f}" if _arg2 = "Line" then SendKeys "{Ctrl+"+key$+"+l}" if _arg2 = "Paragraph" then SendKeys "{Ctrl+Down}{Shift+Ctrl+Up}{Ctrl+"+key$+"+s}" if _arg2 = "Screen" or _arg2 = "Window" then SendKeys "{Ctrl+"+key$+"+c}" if _arg2 = "Document" then SendKeys "{Ctrl+"+key$+"+d}" } } COMMAND "Command Edit" { KEYS { {Alt+t}c } } COMMAND "Command New" { KEYS { {Alt+t}n } } LIST "FontFace" { "Times" "Times New Roman" "Courier" "Courier New" "Arial" } LIST "FontStyle" { "Bold" "Underline" "Italics" "Plain" "Plain Text" "Regular" } LIST "FontSize" { "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "22" "24" "25" "26" "28" "30" "36" "40" "48" "60" "72" "84" "96" "100" "120" } LIST "Formatting" { "Cap" "Caps" "Initial Caps" "Capitals" "All-Caps" "Uppercase" "No-Caps" "Lowercase" "Centered" "Center Aligned" "Left Aligned" "Right Aligned" "Bullet Style" "With Hyphens" "Without Spaces" } LIST "Action" { "Cut" "Copy" "Bold" "Italicize" "Underline" "Center" "Left Align" "Right Align" "Delete" "Restore" } LIST "Selection" { "Selection" "That" } LIST "playPlaybackRead" { "Play" "Play Back" "Read" } LIST "ReadText" { "That" "Line" "Paragraph" "Document" "Screen" "Window" "From Here" "To Here" "Selection" "Up To Here" "Down From Here" } } STATE "Correction" { COMMAND "What Can I Say" { SCRIPT { offset& = 65536 id& = 601 WinHelp "Wcisbase.hlp>(w95sec)", 11 } } COMMAND "Select Line" { KEYS { {Home}{Shift+End} } } COMMAND " <1To10>" { SCRIPT { key$ = "Alt+" if _arg1 = "Select" then key$ = "Shift+" + key$ if _arg2 = "10" then _arg2 = "0" Sendkeys "{" + key$ + _arg2 + "}" } } COMMAND " of Line" { SCRIPT { if _arg2 = "Beginning" then _arg2 = "Home" if _arg2 = "Start" then _arg2 = "Home" if _arg2 = "Top" then _arg2 = "Home" if _arg2 = "Bottom" then _arg2 = "End" SendKeys "{" + _arg2 + "}" } } COMMAND "Go to Bottom" { KEYS { {End} } } COMMAND "Go to Top" { KEYS { {Home} } } COMMAND "Move Word" { SCRIPT { if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" SendKeys "{Ctrl+" + _arg1 + "}" } } COMMAND "Move <2To20> Words" { SCRIPT { if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" SendKeys "{Ctrl+" + _arg1 + " " + _arg2 + "}" } } COMMAND "Move Word and Character" { SCRIPT { if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" SendKeys "{Ctrl+" + _arg1 + "}" if _arg1 = "Left" then SendKeys "{Left}" } } COMMAND "Move <2To20> Words and Character" { SCRIPT { if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" SendKeys "{Ctrl+" + _arg1 + " " + _arg2 + "}" if _arg1 = "Left" then SendKeys "{Left}" } } COMMAND "Move Word and <2To20> Characters" { SCRIPT { if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" if _arg1 = "Right" then _arg3 = Str$( Val(_arg3) - 1 ) SendKeys "{Ctrl+" + _arg1 + "}{"+_arg1+" "+_arg3+"}" } } COMMAND "Move <2To20> Words and <2To20> Characters" { SCRIPT { if _arg1 = "Back" then _arg1 = "Left" if _arg1 = "Forward" then _arg1 = "Right" if _arg1 = "Right" then _arg3 = Str$( Val(_arg3) - 1 ) SendKeys "{Ctrl+" + _arg1 + " " + _arg2 + "}{"+_arg1+" "+_arg3+"}" } } COMMAND " Word" { SCRIPT { if _arg2 = "Previous" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg2 = "Next" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Back" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg2 = "Forward" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Last" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " 1 Word" { SCRIPT { if _arg2 = "Previous" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg2 = "Next" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Back" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg2 = "Forward" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Last" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " <2To20> Words" { SCRIPT { if _arg2 = "Previous" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}" if _arg2 = "Next" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right " +_arg3+ "}" if _arg2 = "Back" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}" if _arg2 = "Forward" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right " +_arg3+ "}" if _arg2 = "Last" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " Word and Character" { SCRIPT { if _arg2 = "Previous" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left}" if _arg2 = "Next" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Back" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left}" if _arg2 = "Forward" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Last" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " 1 Word and 1 Character" { SCRIPT { if _arg2 = "Previous" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left}" if _arg2 = "Next" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Back" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left}" if _arg2 = "Forward" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}" if _arg2 = "Last" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " <2To20> Words and 1 Character" { SCRIPT { if _arg2 = "Previous" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}{Shift+Left}" if _arg2 = "Next" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right " +_arg3+ "}" if _arg2 = "Back" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}{Shift+Left}" if _arg2 = "Forward" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right " +_arg3+ "}" if _arg2 = "Last" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}{Shift+Left}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " Word and <2To20> Characters" { SCRIPT { if _arg2 = "Next" or _arg2 = "Forward" then _arg3 = Str$( Val(_arg3) - 1 ) if _arg2 = "Previous" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left "+_arg3+"}" if _arg2 = "Next" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}{Shift+Right "+_arg3+"}" if _arg2 = "Back" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left "+_arg3+"}" if _arg2 = "Forward" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}{Shift+Right "+_arg3+"}" if _arg2 = "Last" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left "+_arg3+"}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " 1 Word and <2To20> Characters" { SCRIPT { if _arg2 = "Next" or _arg2 = "Forward" then _arg3 = Str$( Val(_arg3) - 1 ) if _arg2 = "Previous" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left "+_arg3+"}" if _arg2 = "Next" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}{Shift+Right "+_arg3+"}" if _arg2 = "Back" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left "+_arg3+"}" if _arg2 = "Forward" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right}{Shift+Right "+_arg3+"}" if _arg2 = "Last" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left}{Shift+Left "+_arg3+"}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " <2To20> Words and <2To20> Characters" { SCRIPT { if _arg2 = "Next" or _arg2 = "Forward" then _arg3 = Str$( Val(_arg3) - 1 ) if _arg2 = "Previous" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}{Shift+Left "+_arg4+"}" if _arg2 = "Next" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right " +_arg3+ "}{Shift+Right "+_arg4+"}" if _arg2 = "Back" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}{Shift+Left "+_arg4+"}" if _arg2 = "Forward" then SendKeys "{Ctrl+Right}{Ctrl+Left}{Shift+Ctrl+Right " +_arg3+ "}{Shift+Right "+_arg4+"}" if _arg2 = "Last" then SendKeys "{Left 2}{Ctrl+Right}{Shift+Ctrl+Left " +_arg3+ "}{Shift+Left "+_arg4+"}" if _arg1 = "Delete" then SendKeys "{Del}" } } COMMAND " " { SCRIPT { if _arg1 = "Delete" then key$ = "{Del}" if _arg1 = "Cut" then key$ = "{Ctrl+x}" Sendkeys key$ } } COMMAND "Delete Character" { SCRIPT { if _arg1 = "Previous" then SendKeys "{Left}{Right}{Backspace}" if _arg1 = "Next" then SendKeys "{Right}{Left}{Del}" if _arg1 = "Back" then SendKeys "{Left}{Right}{Backspace}" if _arg1 = "Forward" then SendKeys "{Right}{Left}{Del}" if _arg1 = "Last" then SendKeys "{Left}{Right}{Backspace}" } } COMMAND "Delete <2To20> Characters" { SCRIPT { if _arg1 = "Previous" then _arg1 = "Backspace" if _arg1 = "Next" then _arg1 = "Del" if _arg1 = "Back" then _arg1 = "Backspace" if _arg1 = "Forward" then _arg1 = "Del" if _arg1 = "Last" then _arg1 = "Backspace" if _arg1 = "Backspace" then SendKeys "{Left}{Right}" if _arg1 = "Del" then SendKeys "{Right}{Left}" SendKeys "{" + _arg1 + " " + _arg2 + "}" } } COMMAND "" { SCRIPT { if _arg1 = "}" then Sendkeys _arg1 else Sendkeys "{" + _arg1 + "}" end if } } LIST "ChooseOrSelect" { "Choose" "Select" } LIST "Action" { "Cut" "Delete" } LIST "Selection" { "Selection" "That" } LIST "1To10" { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" } LIST "MoveTo" { "Go to" "Move to" } LIST "Position" { "Beginning" "Start" "Top" "Bottom" "End" } LIST "DirLeftRight" { "Left" "Right" "Back" "Forward" } LIST "SelectOrDelete" { "Select" "Delete" } LIST "NextOrPrevious" { "Previous" "Next" "Back" "Forward" "Last" } LIST "One" { "a" "1" } LIST "2To20" { "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" } LIST "single-random-letter" { "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "!" "@" "#" "$" "%" "^" "&" "*" "(" ")" "`" "~" "-" "_" "=" "+" "\\" "|" "[" "{" "]" "}" ";" ":" "'" "\"" "," "<" "." ">" "/" "?" } } STATE "Mouse Grid" NOGLOBALS { COMMAND "Cancel" { SCRIPT "MouseGrid 0" } COMMAND "Undo That" { SCRIPT "MouseGrid 1,0" } COMMAND "<1To9>" { SCRIPT { MouseGrid 1, _arg1 } } COMMAND "<1To9> <1To9>" { SCRIPT { MouseGrid 1, _arg1 MouseGrid 1, _arg2 } } COMMAND "<1To9> <1To9> <1To9>" { SCRIPT { MouseGrid 1, _arg1 MouseGrid 1, _arg2 MouseGrid 1, _arg3 } } COMMAND "<1To9> <1To9> <1To9> <1To9>" { SCRIPT { MouseGrid 1, _arg1 MouseGrid 1, _arg2 MouseGrid 1, _arg3 MouseGrid 1, _arg4 } } COMMAND "<1To9> <1To9> <1To9> <1To9> <1To9>" { SCRIPT { MouseGrid 1, _arg1 MouseGrid 1, _arg2 MouseGrid 1, _arg3 MouseGrid 1, _arg4 MouseGrid 1, _arg5 } } COMMAND "" { SCRIPT { if _arg1 = "Go" then MouseGrid 0 if _arg1 = "Click" then ButtonClick 1,1 if _arg1 = "Double Click" then ButtonClick 1,2 if _arg1 = "Left Click" then ButtonClick 1,1 if _arg1 = "Right Click" then ButtonClick 2,1 if _arg1 = "Mark" then RememberPoint MouseGrid 0 end if if _arg1 = "Go" then MouseGrid 0 if _arg1 = "Drag" then DragToPoint 1 if _arg1 = "Shift Drag" then ShiftKey 1,1 DragToPoint 1 ShiftKey 1,0 end if if _arg1 = "Control Drag" then ShiftKey 2,1 DragToPoint 1 ShiftKey 2,0 end if } } COMMAND "<1To9> " { SCRIPT { HeardWord _arg1 HeardWord _arg2 } } COMMAND "<1To9> <1To9> " { SCRIPT { HeardWord _arg1, _arg2 HeardWord _arg3 } } COMMAND "<1To9> <1To9> <1To9> " { SCRIPT { HeardWord _arg1, _arg2, _arg3 HeardWord _arg4 } } COMMAND "<1To9> <1To9> <1To9> <1To9> " { SCRIPT { HeardWord _arg1, _arg2, _arg3, _arg4 HeardWord _arg5 } } COMMAND "<1To9> <1To9> <1To9> <1To9> <1To9> " { SCRIPT { HeardWord _arg1, _arg2, _arg3, _arg4, _arg5 HeardWord _arg6 } } COMMAND "" { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse& } } COMMAND " <1To9>" { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 } } COMMAND " <1To9> <1To9>" { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 } } COMMAND " <1To9> <1To9> <1To9>" { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 } } COMMAND " <1To9> <1To9> <1To9> <1To9>" { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 MouseGrid nMouse&, _arg5 } } COMMAND " <1To9> <1To9> <1To9> <1To9> <1To9>" { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 MouseGrid nMouse&, _arg5 MouseGrid nMouse&, _arg6 } } COMMAND "Mouse " { SCRIPT { HeardWord _arg1 } } COMMAND " <1To9> " { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 Wait 10 HeardWord _arg3 } } COMMAND " <1To9> <1To9> " { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 Wait 10 HeardWord _arg4 } } COMMAND " <1To9> <1To9> <1To9> " { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 Wait 10 HeardWord _arg5 } } COMMAND " <1To9> <1To9> <1To9> <1To9> " { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 MouseGrid nMouse&, _arg5 Wait 10 HeardWord _arg6 } } COMMAND " <1To9> <1To9> <1To9> <1To9> <1To9> " { SCRIPT { MouseGrid 0 nMouse& = 1 if _arg1 = "Mouse Window" then nMouse& = 2 if _arg1 = "MouseGrid Window" then nMouse& = 2 MouseGrid nMouse&, _arg2 MouseGrid nMouse&, _arg3 MouseGrid nMouse&, _arg4 MouseGrid nMouse&, _arg5 MouseGrid nMouse&, _arg6 Wait 10 HeardWord _arg7 } } COMMAND " <1To10>" { SCRIPT { MouseGrid 0 xPos& = 0 yPos& = 0 nDistance& = Val( _arg2 ) * 3 if _arg1 = "Up" then yPos& = yPos& - nDistance& if _arg1 = "Down" then yPos& = yPos& + nDistance& if _arg1 = "Left" then xPos& = xPos& - nDistance& if _arg1 = "Right" then xPos& = xPos& + nDistance& SetMousePosition 2, xPos&, yPos& } } COMMAND " <1To10> " { SCRIPT { HeardWord _arg1, _arg2 Wait 10 HeardWord "Mouse",_arg3 } } COMMAND "Mouse <1To10>" { SCRIPT { HeardWord _arg1, _arg2 } } COMMAND "Mouse <1To10> " { SCRIPT { HeardWord _arg1, _arg2 Wait 10 HeardWord "Mouse",_arg3 } } COMMAND "Go to Sleep" { SCRIPT "GoToSleep" } COMMAND "Microphone Off" { SCRIPT "SetMicrophone 0" } COMMAND "What Can I Say" { SCRIPT { offset& = 65536 id& = 604 WinHelp "Wcisbase.hlp>(w95sec)", 11 } } COMMAND "Switch to " { SCRIPT { if _arg1 = "NatSpeak" then MouseGrid 0 AppBringUp "NatSpeak" end if if _arg1 = "NaturallySpeaking" then MouseGrid 0 AppBringUp "NatSpeak" end if if _arg1 = "Next Window" then SendSystemKeys "{Shift+Alt+Tab}" if _arg1 = "Previous Window" then SendSystemKeys "{Alt+Tab}" } } LIST "Direction" { "Up" "Down" "Left" "Right" } LIST "Mouse" { "Mouse" "MouseGrid" "Mouse Window" "MouseGrid Window" } LIST "MouseGrid" { "MouseGrid" "Mouse Window" "MouseGrid Window" } LIST "MouseAction" { "Click" "Double Click" "Drag" "Go" "Mark" "Left Click" "Right Click" "Control Drag" "Shift Drag" } LIST "1To9" { "1" "2" "3" "4" "5" "6" "7" "8" "9" } LIST "1To10" { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" } LIST "AppList" { "NatSpeak" "NaturallySpeaking" "Next Window" "Previous Window" } } STATE "New Command Wizard" { COMMAND "Dragon NaturallySpeaking" { KEYS { a{Enter}dra{Enter}Dragon NaturallySpeaking{Enter} } } COMMAND "Microsoft Word" { KEYS { a{Enter}Microsoft Word{Enter}Microsoft Word{Enter} } } COMMAND "MathType" { KEYS { a{Enter}MATHTYPE{Enter}MathType{Enter} } } COMMAND "Netscape" { KEYS { a{Enter}Netscape{Enter}Netscape{Enter} } } COMMAND "Eudora" { KEYS { a{Enter}Eud{Enter}Eudora Pro{Enter} } } } } MENU "WORDPAD" { STATE "WordPad" { COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg3 = "Plain" then _arg3 = "Regular" if _arg3 = "Plain text" then _arg3 = "Regular" if _arg3 = "Underline" then _arg3 = "{Alt+u}" if _arg3 = "Italics" then _arg3 = "Italic" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Alt+y}" + _arg3 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+y}" + _arg2 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Regular" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain Text" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Underline" then _arg1 = "{Ctrl+u}" if _arg1 = "Italics" then _arg1 = "{Ctrl+i}" if _arg1 = "Bold" then _arg1 = "{Ctrl+b}" SendKeys _arg1 } } COMMAND "Set Size " { SCRIPT { SendKeys "{Alt+o}f{Alt+s}" SendKeys _arg1 SendKeys "{Enter}" } } COMMAND "Format That Size " { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+s}" SendKeys _arg1 SendKeys "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Point" { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+s}" SendKeys _arg1 SendKeys "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+s}" SendKeys _arg1 if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain Text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Alt+y}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Point " { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+s}" SendKeys _arg1 if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain Text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Alt+y}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Regular" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain Text" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Underline" then _arg1 = "{Ctrl+u}" if _arg1 = "Italics" then _arg1 = "{Ctrl+i}" if _arg1 = "Bold" then _arg1 = "{Ctrl+b}" SendKeys "{Ctrl+t}" SendKeys _arg1 SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Point" { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg3 = "Plain" then _arg3 = "Regular" if _arg3 = "Plain text" then _arg3 = "Regular" if _arg3 = "Underline" then _arg3 = "{Alt+u}" if _arg3 = "Italics" then _arg3 = "Italic" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Alt+y}" + _arg3 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Ctrl+t}" SendKeys "{Alt+o}f{Alt+f}" + _arg1 + "{Alt+y}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Capitals" then _arg1 = "Cap" if _arg1 = "Initial Caps" then _arg1 = "Cap" if _arg1 = "Caps" then _arg1 = "Cap" if _arg1 = "Uppercase" then _arg1 = "All-Caps" if _arg1 = "Lowercase" then _arg1 = "No-Caps" if _arg1 = "Cap" then HeardWord "\Cap","That" if _arg1 = "All-Caps" then HeardWord "\All-Caps","That" if _arg1 = "No-Caps" then HeardWord "\No-Caps","That" if _arg1 = "With Hyphens" then HeardWord "Hyphenate","That" if _arg1 = "Without Spaces" then HeardWord "Compound","That" if _arg1 = "Centered" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Center Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Left Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+l}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Right Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+r}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Bullet Style" then SendKeys "{Ctrl+t}" SendKeys "{Alt+o}b" SendKeys "{Shift+Ctrl+r}" end if } } COMMAND "Format That and " { SCRIPT { HeardWord "Format","That",_arg2 if _arg1 = "Capitals" then _arg1 = "Cap" if _arg1 = "Initial Caps" then _arg1 = "Cap" if _arg1 = "Caps" then _arg1 = "Cap" if _arg1 = "Uppercase" then _arg1 = "All-Caps" if _arg1 = "Lowercase" then _arg1 = "No-Caps" if _arg1 = "Cap" then HeardWord "\Cap","That" if _arg1 = "All-Caps" then HeardWord "\All-Caps","That" if _arg1 = "No-Caps" then HeardWord "\No-Caps","That" if _arg1 = "With Hyphens" then HeardWord "Hyphenate","That" if _arg1 = "Without Spaces" then HeardWord "Compound","That" if _arg1 = "Centered" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Center Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Left Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+l}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Right Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+r}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Bullet Style" then SendKeys "{Ctrl+t}" SendKeys "{Alt+o}b" SendKeys "{Shift+Ctrl+r}" end if } } COMMAND "Format That and " { SCRIPT { if _arg1 = "Regular" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Plain Text" then _arg1 = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg1 = "Underline" then _arg1 = "{Ctrl+u}" if _arg1 = "Italics" then _arg1 = "{Ctrl+i}" if _arg1 = "Bold" then _arg1 = "{Ctrl+b}" SendKeys "{Ctrl+t}" SendKeys _arg1 SendKeys "{Shift+Ctrl+r}" HeardWord "Format","That",_arg2 } } COMMAND " " { SCRIPT { if _arg1 = "Cut" then key$ = "{Ctrl+x}" if _arg1 = "Copy" then key$ = "{Ctrl+c}" if _arg1 = "Bold" then key$ = "{Ctrl+b}" if _arg1 = "Italicize" then key$ = "{Ctrl+i}" if _arg1 = "Underline" then key$ = "{Ctrl+u}" if _arg1 = "Center" then key$ = "{Ctrl+e}" if _arg1 = "Left Align" then key$ = "{Ctrl+l}" if _arg1 = "Right Align" then key$ = "{Ctrl+r}" if _arg1 = "Delete" then key$ = "{Del}" if _arg1 = "Restore" then key$ = "{Alt+o}f{Alt+y}Regular{Enter}" if _arg2 = "That" then SendKeys "{Ctrl+t}" SendKeys key$ if _arg2 = "That" then SendKeys "{Shift+Ctrl+r}" } } LIST "FontFace" { "Times" "Times New Roman" "Courier" "Courier New" "Arial" } LIST "FontStyle" { "Bold" "Underline" "Italics" "Plain" "Plain Text" "Regular" } LIST "FontSize" { "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "22" "24" "25" "26" "28" "30" "36" "40" "48" "60" "72" "84" "96" "100" "120" } LIST "Formatting" { "Cap" "Caps" "Initial Caps" "Capitals" "All-Caps" "Uppercase" "No-Caps" "Lowercase" "Centered" "Center Aligned" "Left Aligned" "Right Aligned" "Bullet Style" "With Hyphens" "Without Spaces" } LIST "Action" { "Cut" "Copy" "Bold" "Italicize" "Underline" "Center" "Left Align" "Right Align" "Delete" "Restore" } LIST "Selection" { "Selection" "That" } } } MENU "NOTEPAD" { STATE "Notepad" { COMMAND "Select Document" { KEYS { {Alt+e}a } } COMMAND "Select All" { KEYS { {Alt+e}a } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Alt+e}f{Alt+f}" + _arg1 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Alt+e}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg3 = "Plain" then _arg3 = "Regular" if _arg3 = "Plain text" then _arg3 = "Regular" if _arg3 = "Underline" then _arg3 = "{Alt+u}" if _arg3 = "Italics" then _arg3 = "Italic" SendKeys "{Alt+e}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Alt+y}" + _arg3 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Alt+e}f{Alt+f}" + _arg1 + "{Alt+y}" + _arg2 + "{Enter}" } } COMMAND "Set Font " { SCRIPT { if _arg1 = "Regular" then _arg1 = "{Alt+e}f{Alt+y}Regular{Enter}" if _arg1 = "Plain" then _arg1 = "{Alt+e}f{Alt+y}Regular{Enter}" if _arg1 = "Plain Text" then _arg1 = "{Alt+e}f{Alt+y}Regular{Enter}" if _arg1 = "Underline" then _arg1 = "{Ctrl+u}" if _arg1 = "Italics" then _arg1 = "{Ctrl+i}" if _arg1 = "Bold" then _arg1 = "{Ctrl+b}" SendKeys _arg1 } } COMMAND "Set Size " { SCRIPT { SendKeys "{Alt+e}f{Alt+s}" SendKeys _arg1 SendKeys "{Enter}" } } COMMAND "Format That Size " { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+e}f{Alt+s}" SendKeys _arg1 SendKeys "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Point" { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+e}f{Alt+s}" SendKeys _arg1 SendKeys "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+e}f{Alt+s}" SendKeys _arg1 if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain Text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Alt+y}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Point " { SCRIPT { SendKeys "{Ctrl+t}" SendKeys "{Alt+e}f{Alt+s}" SendKeys _arg1 if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain Text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Alt+y}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Regular" then _arg1 = "{Alt+e}f{Alt+y}Regular{Enter}" if _arg1 = "Plain" then _arg1 = "{Alt+e}f{Alt+y}Regular{Enter}" if _arg1 = "Plain Text" then _arg1 = "{Alt+e}f{Alt+y}Regular{Enter}" if _arg1 = "Underline" then _arg1 = "{Ctrl+u}" if _arg1 = "Italics" then _arg1 = "{Ctrl+i}" if _arg1 = "Bold" then _arg1 = "{Ctrl+b}" SendKeys "{Ctrl+t}" SendKeys _arg1 SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+e}f{Alt+f}" + _arg1 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Font " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+e}f{Alt+f}" + _arg1 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+e}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That Point" { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" SendKeys "{Ctrl+t}" SendKeys "{Alt+e}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg3 = "Plain" then _arg3 = "Regular" if _arg3 = "Plain text" then _arg3 = "Regular" if _arg3 = "Underline" then _arg3 = "{Alt+u}" if _arg3 = "Italics" then _arg3 = "Italic" SendKeys "{Ctrl+t}" SendKeys "{Alt+e}f{Alt+f}" + _arg1 + "{Alt+s}" + _arg2 + "{Alt+y}" + _arg3 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Times" then _arg1 = "Times New Roman" if _arg1 = "Courier" then _arg1 = "Courier New" if _arg2 = "Plain" then _arg2 = "Regular" if _arg2 = "Plain text" then _arg2 = "Regular" if _arg2 = "Underline" then _arg2 = "{Alt+u}" if _arg2 = "Italics" then _arg2 = "Italic" SendKeys "{Ctrl+t}" SendKeys "{Alt+e}f{Alt+f}" + _arg1 + "{Alt+y}" + _arg2 + "{Enter}" SendKeys "{Shift+Ctrl+r}" } } COMMAND "Format That " { SCRIPT { if _arg1 = "Capitals" then _arg1 = "Cap" if _arg1 = "Initial Caps" then _arg1 = "Cap" if _arg1 = "Caps" then _arg1 = "Cap" if _arg1 = "Uppercase" then _arg1 = "All-Caps" if _arg1 = "Lowercase" then _arg1 = "No-Caps" if _arg1 = "Cap" then HeardWord "\Cap","That" if _arg1 = "All-Caps" then HeardWord "\All-Caps","That" if _arg1 = "No-Caps" then HeardWord "\No-Caps","That" if _arg1 = "With Hyphens" then HeardWord "Hyphenate","That" if _arg1 = "Without Spaces" then HeardWord "Compound","That" if _arg1 = "Centered" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Center Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Left Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+l}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Right Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+r}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Bullet Style" then SendKeys "{Ctrl+t}" SendKeys "{Alt+e}b" SendKeys "{Shift+Ctrl+r}" end if } } COMMAND "Format That and " { SCRIPT { HeardWord "Format","That",_arg2 if _arg1 = "Capitals" then _arg1 = "Cap" if _arg1 = "Initial Caps" then _arg1 = "Cap" if _arg1 = "Caps" then _arg1 = "Cap" if _arg1 = "Uppercase" then _arg1 = "All-Caps" if _arg1 = "Lowercase" then _arg1 = "No-Caps" if _arg1 = "Cap" then HeardWord "\Cap","That" if _arg1 = "All-Caps" then HeardWord "\All-Caps","That" if _arg1 = "No-Caps" then HeardWord "\No-Caps","That" if _arg1 = "With Hyphens" then HeardWord "Hyphenate","That" if _arg1 = "Without Spaces" then HeardWord "Compound","That" if _arg1 = "Centered" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Center Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+e}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Left Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+l}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Right Aligned" then SendKeys "{Ctrl+t}" SendKeys "{Ctrl+r}" SendKeys "{Shift+Ctrl+r}" end if if _arg1 = "Bullet Style" then SendKeys "{Ctrl+t}" SendKeys "{Alt+e}b" SendKeys "{Shift+Ctrl+r}" end if } } COMMAND "Format That and " { SCRIPT { if _arg1 = "Regular" then _arg1 = "{Alt+e}f{Alt+y}Regular{Enter}" if _arg1 = "Plain" then _arg1 = "{Alt+e}f{Alt+y}Regular{Enter}" if _arg1 = "Plain Text" then _arg1 = "{Alt+e}f{Alt+y}Regular{Enter}" if _arg1 = "Underline" then _arg1 = "{Ctrl+u}" if _arg1 = "Italics" then _arg1 = "{Ctrl+i}" if _arg1 = "Bold" then _arg1 = "{Ctrl+b}" SendKeys "{Ctrl+t}" SendKeys _arg1 SendKeys "{Shift+Ctrl+r}" HeardWord "Format","That",_arg2 } } LIST "FontFace" { "Times" "Times New Roman" "Courier" "Courier New" "Arial" } LIST "FontStyle" { "Bold" "Underline" "Italics" "Plain" "Plain Text" "Regular" } LIST "FontSize" { "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "22" "24" "25" "26" "28" "30" "36" "40" "48" "60" "72" "84" "96" "100" "120" } LIST "Formatting" { "Cap" "Caps" "Initial Caps" "Capitals" "All-Caps" "Uppercase" "No-Caps" "Lowercase" "Centered" "Center Aligned" "Left Aligned" "Right Aligned" "Bullet Style" "With Hyphens" "Without Spaces" } } } MENU "CCHAT" { STATE "Microsoft Chat" { COMMAND " " { SCRIPT { if _arg1 = "Cut" then key$ = "{Ctrl+x}" if _arg1 = "Copy" then key$ = "{Ctrl+c}" if _arg1 = "Bold" then key$ = "{Ctrl+b}" if _arg1 = "Italicize" then key$ = "{Ctrl+i}" if _arg1 = "Underline" then key$ = "{Ctrl+u}" if _arg1 = "Delete" then key$ = "{Del}" SendKeys key$ } } COMMAND "Format That " { SCRIPT { if _arg1 = "Regular" then _arg1 = "{Ctrl+f}" if _arg1 = "Plain" then _arg1 = "{Ctrl+f}" if _arg1 = "Plain Text" then _arg1 = "{Ctrl+f}" if _arg1 = "Underline" then _arg1 = "{Ctrl+u}" if _arg1 = "Italics" then _arg1 = "{Ctrl+i}" if _arg1 = "Bold" then _arg1 = "{Ctrl+b}" SendKeys _arg1 } } COMMAND "Set Font " { SCRIPT { HeardWord "Format","That",_arg1 } } LIST "Action" { "Cut" "Copy" "Bold" "Italicize" "Underline" "Delete" } LIST "Selection" { "Selection" "That" } LIST "FontStyle" { "Bold" "Underline" "Italics" "Plain" "Plain Text" "Regular" } } } MENU "WINWORD" { STATE "Microsoft Word" { COMMAND " " { SCRIPT { verb$ = _arg1 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg1 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the " { SCRIPT { verb$ = _arg1 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg1 direction$ = "" count$ = "1" object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg1 direction$ = "" count$ = "1" object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { verb$ = _arg1 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { verb$ = _arg1 direction$ = "" count$ = _arg2 object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { verb$ = _arg1 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the <2To20> " { SCRIPT { verb$ = _arg1 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg4 direction$ = "" count$ = "1" object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg4 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the " { SCRIPT { verb$ = _arg4 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { verb$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { verb$ = _arg4 direction$ = "" count$ = _arg2 object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { verb$ = _arg5 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the <2To20> " { SCRIPT { verb$ = _arg5 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Font " { SCRIPT { fontname$ = "" fontsize$ = "" fontstyle$ = _arg2 arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the Font " { SCRIPT { fontname$ = "" fontsize$ = "" fontstyle$ = _arg2 arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg3 fontsize$ = "" fontstyle$ = "" arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg3 fontsize$ = _arg4 fontstyle$ = "" arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg3 fontsize$ = "" fontstyle$ = _arg4 arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg3 fontsize$ = _arg4 fontstyle$ = _arg5 arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = "" fontsize$ = _arg3 fontstyle$ = "" arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " on " { SCRIPT { foreground$ = _arg3 background$ = _arg4 arg$ = "Fnt:fore/back," + foreground$ + "," + background$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { foreground$ = "" background$ = _arg3 arg$ = "Fnt:fore/back," + foreground$ + "," + background$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { side$ = _arg2 verbOne$ = _arg3 verbTwo$ = "" verbThree$ = "" arg$ = "Fnt:vrb/vrb/vrb," + verbOne$ + "," + verbTwo$ + "," + verbThree$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " and " { SCRIPT { verbOne$ = _arg3 verbTwo$ = _arg4 verbThree$ = "" arg$ = "Fnt:vrb/vrb/vrb," + verbOne$ + "," + verbTwo$ + "," + verbThree$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " and " { SCRIPT { verbOne$ = _arg3 verbTwo$ = _arg4 verbThree$ = _arg5 arg$ = "Fnt:vrb/vrb/vrb," + verbOne$ + "," + verbTwo$ + "," + verbThree$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " and and " { SCRIPT { verbOne$ = _arg3 verbTwo$ = _arg4 verbThree$ = _arg5 arg$ = "Fnt:vrb/vrb/vrb," + verbOne$ + "," + verbTwo$ + "," + verbThree$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg2 state$ = _arg3 arg$ = "Fnt:vrb/on," + verb$ + "," + state$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn " { SCRIPT { verb$ = _arg2 state$ = _arg1 arg$ = "Fnt:vrb/on," + verb$ + "," + state$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn " { SCRIPT { verb$ = _arg1 state$ = _arg2 arg$ = "Fnt:vrb/on," + verb$ + "," + state$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 verb$ = "" fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg4 direction$ = "" count$ = "1" object$ = _arg3 verb$ = "" fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg4 direction$ = _arg2 count$ = "1" object$ = _arg3 verb$ = "" fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the " { SCRIPT { fontname$ = _arg4 direction$ = _arg2 count$ = "1" object$ = _arg3 verb$ = "" fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { fontname$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 verb$ = "" fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { fontname$ = _arg4 direction$ = "" count$ = _arg2 object$ = _arg3 verb$ = "" fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { fontname$ = _arg5 direction$ = _arg2 count$ = _arg3 object$ = _arg4 verb$ = "" fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the <2To20> " { SCRIPT { fontname$ = _arg5 direction$ = _arg2 count$ = _arg3 object$ = _arg4 verb$ = "" fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = "" fontname$ = _arg3 fontsize$ = _arg4 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = "" fontname$ = _arg4 fontsize$ = _arg5 direction$ = "" count$ = "1" object$ = _arg3 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = "" fontname$ = _arg4 fontsize$ = _arg5 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the " { SCRIPT { verb$ = "" fontname$ = _arg4 fontsize$ = _arg5 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { verb$ = "" fontname$ = _arg3 fontsize$ = _arg4 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { verb$ = "" fontname$ = _arg4 fontsize$ = _arg5 direction$ = "" count$ = _arg2 object$ = _arg3 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { verb$ = "" fontname$ = _arg5 fontsize$ = _arg6 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the <2To20> " { SCRIPT { verb$ = "" fontname$ = _arg5 fontsize$ = _arg6 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg3 fontstyle$ = _arg4 direction$ = "" count$ = "1" object$ = _arg2 fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg4 fontstyle$ = _arg5 direction$ = "" count$ = "1" object$ = _arg3 fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg4 fontstyle$ = _arg5 direction$ = _arg2 count$ = "1" object$ = _arg3 fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the " { SCRIPT { fontname$ = _arg4 fontstyle$ = _arg5 direction$ = _arg2 count$ = "1" object$ = _arg3 fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { fontname$ = _arg3 fontstyle$ = _arg4 direction$ = "" count$ = "1" object$ = _arg2 fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { fontname$ = _arg4 fontstyle$ = _arg5 direction$ = "" count$ = _arg2 object$ = _arg3 fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { fontname$ = _arg5 fontstyle$ = _arg6 direction$ = _arg2 count$ = _arg3 object$ = _arg4 fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the <2To20> " { SCRIPT { fontname$ = _arg5 fontstyle$ = _arg6 direction$ = _arg2 count$ = _arg3 object$ = _arg4 fontsize$ = "" arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontname$ = _arg3 fontstyle$ = _arg5 fontsize$ = _arg4 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontstyle$ = _arg6 fontname$ = _arg4 fontsize$ = _arg5 direction$ = "" count$ = "1" object$ = _arg3 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { fontstyle$ = _arg6 fontname$ = _arg4 fontsize$ = _arg5 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the " { SCRIPT { fontstyle$ = _arg6 fontname$ = _arg4 fontsize$ = _arg5 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { fontstyle$ = _arg5 fontname$ = _arg3 fontsize$ = _arg4 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { fontstyle$ = _arg6 fontname$ = _arg4 fontsize$ = _arg5 direction$ = "" count$ = _arg2 object$ = _arg3 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { fontstyle$ = _arg7 fontname$ = _arg5 fontsize$ = _arg6 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the <2To20> " { SCRIPT { fontstyle$ = _arg7 fontname$ = _arg5 fontsize$ = _arg6 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Fnt:nam/siz/vrb/dir/cnt/obj," + fontname$ + "," + fontsize$ + "," + fontstyle$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verbOne$ = _arg1 verbTwo$ = "" verbThree$ = "" arg$ = "Fnt:vrb/vrb/vrb," + verbOne$ + "," + verbTwo$ + "," + verbThree$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { moveDir$ = _arg2 count$ = "1" object$ = _arg4 arg$ = "Mov:dir/cnt/obj," + moveDir$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { moveDir$ = _arg1 count$ = "1" object$ = _arg3 arg$ = "Mov:dir/cnt/obj," + moveDir$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { moveDir$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Mov:dir/cnt/obj," + moveDir$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { moveDir$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Mov:dir/cnt/obj," + moveDir$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to of " { SCRIPT { side$ = _arg2 object$ = _arg3 arg$ = "Goto:end/obj/sel," + side$ + "," + object$ + "," + "Move" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to " { SCRIPT { side$ = _arg2 object$ = "Document" arg$ = "Goto:end/obj/sel," + side$ + "," + object$ + "," + "Move" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " of " { SCRIPT { side$ = _arg1 object$ = _arg2 arg$ = "Goto:end/obj/sel," + side$ + "," + object$ + "," + "Move" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to the of the " { SCRIPT { side$ = _arg2 object$ = _arg3 arg$ = "Goto:end/obj/sel," + side$ + "," + object$ + "," + "Move" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to of " { SCRIPT { side$ = _arg2 object$ = "" arg$ = "Goto:end/obj/sel," + side$ + "," + object$ + "," + "Move" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " of " { SCRIPT { side$ = _arg1 object$ = "" arg$ = "Goto:end/obj/sel," + side$ + "," + object$ + "," + "Move" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to the of the " { SCRIPT { side$ = _arg2 object$ = "" arg$ = "Goto:end/obj/sel," + side$ + "," + object$ + "," + "Move" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move " { SCRIPT { direction$ = _arg2 count$ = "1" object$ = _arg4 arg$ = "MvTht:dir/cnt/obj," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> " { SCRIPT { direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "MvTht:dir/cnt/obj," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move to of " { SCRIPT { side$ = _arg2 object$ = _arg3 arg$ = "MvTht:end/obj," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move to the of the " { SCRIPT { side$ = _arg2 object$ = _arg3 arg$ = "MvTht:end/obj," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verbOne$ = _arg1 verbTwo$ = "" verbThree$ = "" arg$ = "Par:vrb/vrb/vrb," + verbOne$ + "," + verbTwo$ + "," + verbThree$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg1 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg1 direction$ = "" count$ = "1" object$ = _arg3 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg1 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the " { SCRIPT { verb$ = _arg1 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { verb$ = _arg1 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { verb$ = _arg1 direction$ = "" count$ = _arg2 object$ = _arg3 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { verb$ = _arg1 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the <2To20> " { SCRIPT { verb$ = _arg1 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verbOne$ = _arg3 verbTwo$ = "" verbThree$ = "" arg$ = "Par:vrb/vrb/vrb," + verbOne$ + "," + verbTwo$ + "," + verbThree$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg4 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { verb$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg4 direction$ = "" count$ = "1" object$ = _arg3 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { verb$ = _arg4 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { verb$ = _arg4 count$ = _arg2 object$ = _arg3 direction$ = "" arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { verb$ = _arg5 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { verb$ = _arg2 state$ = _arg3 arg$ = "Par:vrb/on," + verb$ + "," + state$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn " { SCRIPT { verb$ = _arg2 state$ = _arg1 arg$ = "Par:vrb/on," + verb$ + "," + state$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn " { SCRIPT { verb$ = _arg1 state$ = _arg2 arg$ = "Par:vrb/on," + verb$ + "," + state$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format As " { SCRIPT { style$ = _arg2 arg$ = "Fnt:sty," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format As " { SCRIPT { style$ = _arg2 direction$ = "" count$ = "1" object$ = _arg1 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format As " { SCRIPT { style$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format As " { SCRIPT { style$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format the As " { SCRIPT { style$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format 1 As " { SCRIPT { style$ = _arg2 direction$ = "" count$ = "1" object$ = _arg1 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format <2To20> As " { SCRIPT { style$ = _arg3 direction$ = "" count$ = _arg1 object$ = _arg2 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format <2To20> As " { SCRIPT { style$ = _arg4 direction$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format the <2To20> As " { SCRIPT { style$ = _arg4 direction$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { style$ = _arg3 arg$ = "Fnt:sty," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { style$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { style$ = _arg4 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { style$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { style$ = _arg4 direction$ = "" count$ = _arg2 object$ = _arg3 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { style$ = _arg5 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn Into " { SCRIPT { style$ = _arg2 arg$ = "Fnt:sty," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn Into " { SCRIPT { style$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn Into " { SCRIPT { style$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn the Into " { SCRIPT { style$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn 1 Into " { SCRIPT { style$ = _arg2 direction$ = "" count$ = "1" object$ = _arg1 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn <2To20> Into " { SCRIPT { style$ = _arg3 direction$ = "" count$ = _arg1 object$ = _arg2 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn <2To20> Into " { SCRIPT { style$ = _arg4 direction$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn the <2To20> Into " { SCRIPT { style$ = _arg4 direction$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Fnt:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format As " { SCRIPT { style$ = _arg2 arg$ = "Par:sty," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format As " { SCRIPT { style$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format the As " { SCRIPT { style$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format 1 As " { SCRIPT { style$ = _arg2 direction$ = "" count$ = "1" object$ = _arg1 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format 1 As " { SCRIPT { style$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format the 1 As " { SCRIPT { style$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format <2To20> As " { SCRIPT { style$ = _arg3 direction$ = "" count$ = _arg1 object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format <2To20> As " { SCRIPT { style$ = _arg4 direction$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format the <2To20> As " { SCRIPT { style$ = _arg4 direction$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { style$ = _arg3 arg$ = "Par:sty," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { style$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { style$ = _arg4 direction$ = "" count$ = "1" object$ = _arg3 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { style$ = _arg4 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the " { SCRIPT { style$ = _arg4 direction$ = _arg2 count$ = "1" object$ = _arg3 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " 1 " { SCRIPT { style$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { style$ = _arg4 direction$ = "" count$ = _arg2 object$ = _arg3 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { style$ = _arg5 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " the <2To20> " { SCRIPT { style$ = _arg5 direction$ = _arg2 count$ = _arg3 object$ = _arg4 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn Into " { SCRIPT { style$ = _arg2 arg$ = "Par:sty," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn Into " { SCRIPT { style$ = _arg2 direction$ = "" count$ = "1" object$ = _arg1 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn Into " { SCRIPT { style$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn Into " { SCRIPT { style$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn the Into " { SCRIPT { style$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn 1 Into " { SCRIPT { style$ = _arg2 direction$ = "" count$ = "1" object$ = _arg1 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn <2To20> Into " { SCRIPT { style$ = _arg3 direction$ = "" count$ = _arg1 object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn <2To20> Into " { SCRIPT { style$ = _arg4 direction$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Turn the <2To20> Into " { SCRIPT { style$ = _arg4 direction$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Set Font " { SCRIPT { fontsize$ = "" fontname$ = _arg1 arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Set Font " { SCRIPT { fontname$ = _arg1 fontsize$ = _arg2 arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Set Font " { SCRIPT { fontname$ = _arg1 fontsize$ = _arg2 fontstyle$ = _arg3 arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Set Font " { SCRIPT { fontname$ = _arg1 fontstyle$ = _arg2 arg$ = "Fnt:nam/siz/vrb," + fontname$ + ",," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Set Font " { SCRIPT { fontstyle$ = _arg1 arg$ = "Fnt:nam/siz/vrb,,," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Set Size " { SCRIPT { fontsize$ = _arg1 arg$ = "Fnt:nam/siz/vrb,," + fontsize$ + "," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That Size " { SCRIPT { fontsize$ = _arg1 arg$ = "Fnt:nam/siz/vrb,," + fontsize$ + "," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That Point" { SCRIPT { fontsize$ = _arg1 arg$ = "Fnt:nam/siz/vrb,," + fontsize$ + "," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That " { SCRIPT { fontsize$ = _arg1 fontstyle$ = _arg2 arg$ = "Fnt:nam/siz/vrb,," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That Point " { SCRIPT { fontsize$ = _arg1 fontstyle$ = _arg2 arg$ = "Fnt:nam/siz/vrb,," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That " { SCRIPT { fontstyle$ = _arg1 arg$ = "Fnt:nam/siz/vrb,,," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That " { SCRIPT { fontname$ = _arg1 arg$ = "Fnt:nam/siz/vrb," + fontname$ + ",," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That Font " { SCRIPT { fontname$ = _arg1 arg$ = "Fnt:nam/siz/vrb," + fontname$ + ",," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That " { SCRIPT { fontname$ = _arg1 fontsize$ = _arg2 arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That Point" { SCRIPT { fontname$ = _arg1 fontsize$ = _arg2 arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That " { SCRIPT { fontname$ = _arg1 fontsize$ = _arg2 fontstyle$ = _arg3 arg$ = "Fnt:nam/siz/vrb," + fontname$ + "," + fontsize$ + "," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That " { SCRIPT { fontname$ = _arg1 fontstyle$ = _arg2 arg$ = "Fnt:nam/siz/vrb," + fontname$ + ",," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That " { SCRIPT { if _arg1 = "With Hyphens" then HeardWord "Hyphenate","That" else if _arg1 = "Without Spaces" then HeardWord "Compound","That" else parastyle$ = _arg1 arg$ = "Par:vrb/vrb/vrb," + parastyle$ + ",," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ end if end if } } COMMAND "Format That and " { SCRIPT { HeardWord "Format","That",_arg1 fontstyle$ = _arg2 arg$ = "Fnt:nam/siz/vrb,,," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format That and " { SCRIPT { fontstyle$ = _arg1 arg$ = "Fnt:nam/siz/vrb,,," + fontstyle$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ HeardWord "Format","That",_arg2 } } COMMAND " " { SCRIPT { verbOne$ = _arg1 scr$ = "Fnt" if _arg1 = "Center" then scr$ = "Par" if _arg1 = "Left Align" then scr$ = "Par" if _arg1 = "Right Align" then scr$ = "Par" arg$ = scr$ + ":vrb/vrb/vrb," + verbOne$ + ",," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Remember as " { SCRIPT { style$ = _arg2 arg$ = "SetFnt:sty," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Remember as " { SCRIPT { style$ = _arg2 arg$ = "SetPar:sty," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format As " { SCRIPT { style$ = _arg2 direction$ = "" count$ = "1" object$ = _arg1 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <1To20> Row Table" { SCRIPT { rows$ = _arg2 arg$ = "Tab:rows/cols," + rows$ + ",1" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <1To20> Column Table" { SCRIPT { cols$ = _arg2 arg$ = "Tab:rows/cols,1," + cols$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <1To20> by <1To20> Table" { SCRIPT { rows$ = _arg2 cols$ = _arg3 arg$ = "Tab:rows/cols," + rows$ + "," + cols$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <1To20> Row by <1To20> Column Table" { SCRIPT { rows$ = _arg2 cols$ = _arg3 arg$ = "Tab:rows/cols," + rows$ + "," + cols$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <1To20> Column by <1To20> Row Table" { SCRIPT { cols$ = _arg2 rows$ = _arg3 arg$ = "Tab:rows/cols," + rows$ + "," + cols$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Table <1To20> Rows by <1To20> Columns" { SCRIPT { rows$ = _arg2 cols$ = _arg3 arg$ = "Tab:rows/cols," + rows$ + "," + cols$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Table <1To20> Columns by <1To20> Rows" { SCRIPT { cols$ = _arg2 rows$ = _arg3 arg$ = "Tab:rows/cols," + rows$ + "," + cols$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { count$ = "1" object$ = _arg2 arg$ = "Ins:cnt/obj," + count$ + "," + object$ if object$ = "Bullets" or object$ = "Numbers" or object$ = "Border" then arg$ = "Par:vrb/vrb/vrb," + object$ + ",," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Table With <1To20> Rows" { SCRIPT { rows$ = _arg2 cols$ = "1" arg$ = "Tab:rows/cols," + rows$ + "," + cols$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Table With <1To20> Columns" { SCRIPT { cols$ = _arg2 rows$ = "1" arg$ = "Tab:rows/cols," + rows$ + "," + cols$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Table With <1To20> Columns and <1To20> Rows" { SCRIPT { cols$ = _arg2 rows$ = _arg3 arg$ = "Tab:rows/cols," + rows$ + "," + cols$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Table With <1To20> Rows and <1To20> Columns" { SCRIPT { rows$ = _arg2 cols$ = _arg3 arg$ = "Tab:rows/cols," + rows$ + "," + cols$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " <2To20> " { SCRIPT { count$ = _arg2 object$ = _arg3 arg$ = "Ins:cnt/obj," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Print " { SCRIPT { arg$ = "Pri:obj," + _arg1 DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Print Page <1To100>" { SCRIPT { arg$ = "Pri:num," + _arg1 DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Print Pages <1To100> <1To100>" { SCRIPT { arg$ = "Pri:num/num," + _arg1 + "," + _arg3 DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to the of the " { SCRIPT { verb$ = _arg1 side$ = _arg2 count$ = "-1" object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + side$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to of " { SCRIPT { verb$ = _arg1 side$ = _arg2 count$ = "-1" object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + side$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to " { SCRIPT { side$ = _arg2 object$ = "Document" arg$ = "Goto:end/obj/sel," + side$ + "," + object$ + "," + "Move" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to the " { SCRIPT { side$ = _arg2 object$ = "Document" arg$ = "Goto:end/obj/sel," + side$ + "," + object$ + "," + "Move" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to Next " { SCRIPT { moveDir$ = "Down" count$ = "1" object$ = _arg2 arg$ = "Mov:dir/cnt/obj," + moveDir$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to the Next " { SCRIPT { moveDir$ = "Down" count$ = "1" object$ = _arg2 arg$ = "Mov:dir/cnt/obj," + moveDir$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Format As " { SCRIPT { style$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Par:sty/dir/cnt/obj," + style$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Margin " { SCRIPT { side$ = _arg2 size$ = _arg3 unit$ = _arg4 arg$ = "Mar:side/size/unit," + side$ + "," + size$ + "," + unit$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Margin to " { SCRIPT { side$ = _arg2 size$ = _arg3 unit$ = _arg4 arg$ = "Mar:side/size/unit," + side$ + "," + size$ + "," + unit$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Margin " { SCRIPT { side$ = _arg2 size$ = _arg3 unit$ = "None" arg$ = "Mar:side/size/unit," + side$ + "," + size$ + "," + unit$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " Margin to " { SCRIPT { side$ = _arg2 size$ = _arg3 unit$ = "None" arg$ = "Mar:side/size/unit," + side$ + "," + size$ + "," + unit$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent " { SCRIPT { count$ = "1" direction$ = "" object$ = _arg1 size$ = _arg2 unit$="None" style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent " { SCRIPT { count$ = "1" direction$ = "" object$ = _arg1 size$ = _arg2 unit$ = _arg3 style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent " { SCRIPT { count$ = "1" direction$ = "" object$ = _arg2 size$ = _arg3 unit$="None" style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent " { SCRIPT { count$ = "1" direction$ = "" object$ = _arg2 size$ = _arg3 unit$ = _arg4 style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent " { SCRIPT { count$ = "1" direction$ = _arg1 object$ = _arg2 size$ = _arg3 unit$="None" style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent " { SCRIPT { count$ = "1" direction$ = _arg1 object$ = _arg2 size$ = _arg3 unit$ = _arg4 style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent the " { SCRIPT { count$ = "1" direction$ = _arg1 object$ = _arg2 size$ = _arg3 unit$="None" style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent the " { SCRIPT { count$ = "1" direction$ = _arg1 object$ = _arg2 size$ = _arg3 unit$ = _arg4 style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent <2To20> " { SCRIPT { direction$ = "" count$ = _arg1 object$ = _arg2 size$ = _arg3 unit$="None" style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent <2To20> " { SCRIPT { direction$ = "" count$ = _arg1 object$ = _arg2 size$ = _arg3 unit$ = _arg4 style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent <2To20> " { SCRIPT { direction$ = _arg1 count$ = _arg2 object$ = _arg3 size$ = _arg4 unit$="None" style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent <2To20> " { SCRIPT { direction$ = _arg1 count$ = _arg2 object$ = _arg3 size$ = _arg4 unit$ = _arg5 style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent the <2To20> " { SCRIPT { direction$ = _arg1 count$ = _arg2 object$ = _arg3 size$ = _arg4 unit$="None" style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent the <2To20> " { SCRIPT { direction$ = _arg1 count$ = _arg2 object$ = _arg3 size$ = _arg4 unit$ = _arg5 style$ = "" arg$ = "Ind:dir/cnt/obj/size/unit/sty," + direction$ + "," + count$ + "," + object$ + "," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to " { SCRIPT { size$ = _arg3 unit$ = "None" style$="" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent " { SCRIPT { size$ = _arg2 unit$ = "None" style$="" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " to " { SCRIPT { size$ = _arg3 unit$ = _arg4 style$="" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Indent " { SCRIPT { size$ = _arg2 unit$ = _arg3 style$="" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { size$ = _arg3 unit$ = "None" style$="" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { size$ = _arg3 unit$ = _arg4 style$="" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase " { SCRIPT { arg$ = "Par:vrb/vrb/vrb,indent,," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase For " { SCRIPT { verb$ = "indent" direction$ = "" count$ = "1" object$ = _arg3 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase For <2To20> " { SCRIPT { verb$ = "indent" count$ = _arg2 object$ = _arg3 direction$ = "" arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase For <2To20> " { SCRIPT { verb$ = "indent" count$ = _arg3 object$ = _arg4 direction$ = _arg2 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase For the <2To20> " { SCRIPT { verb$ = "indent" count$ = _arg3 object$ = _arg4 direction$ = _arg2 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase " { SCRIPT { size$ = _arg2 unit$ = "None" style$="increase" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase " { SCRIPT { size$ = _arg2 unit$ = _arg3 style$="increase" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase to " { SCRIPT { size$ = _arg2 unit$ = "None" style$="" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase to " { SCRIPT { size$ = _arg2 unit$ = _arg3 style$="" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase by " { SCRIPT { size$ = _arg2 unit$ = "None" style$="increase" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Increase by " { SCRIPT { size$ = _arg2 unit$ = _arg3 style$="increase" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Decrease " { SCRIPT { size$ = _arg2 unit$ = "None" style$="decrease" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Decrease to " { SCRIPT { size$ = _arg2 unit$ = "None" style$="" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Decrease to " { SCRIPT { size$ = _arg2 unit$ = _arg3 style$="" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Decrease by " { SCRIPT { size$ = _arg2 unit$ = "None" style$="decrease" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Decrease by " { SCRIPT { size$ = _arg2 unit$ = _arg3 style$="decrease" arg$ = "Ind:size/unit/sty," + size$ + "," + unit$ + "," + style$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Decrease " { SCRIPT { arg$ = "Par:vrb/vrb/vrb,outdent,," DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Decrease For " { SCRIPT { verb$ = "outdent" direction$ = "" count$ = "1" object$ = _arg3 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Decrease For <2To20> " { SCRIPT { verb$ = "outdent" count$ = _arg2 object$ = _arg3 direction$ = "" arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Decrease For <2To20> " { SCRIPT { verb$ = "outdent" count$ = _arg3 object$ = _arg4 direction$ = _arg2 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Decrease For the <2To20> " { SCRIPT { verb$ = "outdent" count$ = _arg3 object$ = _arg4 direction$ = _arg2 arg$ = "Par:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { foreground$ = _arg3 background$ = "" arg$ = "Fnt:fore/back," + foreground$ + "," + background$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move " { SCRIPT { sourcedir$ = "" sourcecount$ = "1" sourceobject$ = _arg1 direction$ = _arg2 count$ = "1" object$ = _arg4 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move " { SCRIPT { sourcedir$ = "" sourcecount$ = "1" sourceobject$ = _arg2 direction$ = _arg3 count$ = "1" object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> " { SCRIPT { sourcedir$ = "" sourcecount$ = "1" sourceobject$ = _arg2 direction$ = _arg3 count$ = _arg4 object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move to of " { SCRIPT { sourcedir$ = "" sourcecount$ = "1" sourceobject$ = _arg1 side$ = _arg2 object$ = _arg3 arg$ = "MvSel:dir/cnt/obj/end/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move to the of the " { SCRIPT { sourcedir$ = "" sourcecount$ = "1" sourceobject$ = _arg2 side$ = _arg3 object$ = _arg4 arg$ = "MvSel:dir/cnt/obj/end/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move to the of the " { SCRIPT { sourcedir$ = "" sourcecount$ = "1" sourceobject$ = _arg2 side$ = _arg3 object$ = _arg4 arg$ = "MvSel:dir/cnt/obj/end/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = "1" sourceobject$ = _arg2 direction$ = _arg3 count$ = "1" object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move the " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = "1" sourceobject$ = _arg2 direction$ = _arg3 count$ = "1" object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = "1" sourceobject$ = _arg2 direction$ = _arg3 count$ = _arg4 object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move the <2To20> " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = "1" sourceobject$ = _arg2 direction$ = _arg3 count$ = _arg4 object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move to of " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = "1" sourceobject$ = _arg2 side$ = _arg3 object$ = _arg4 arg$ = "MvSel:dir/cnt/obj/end/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move the to the of the " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = "1" sourceobject$ = _arg2 side$ = _arg3 object$ = _arg4 arg$ = "MvSel:dir/cnt/obj/end/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move " { SCRIPT { sourcedir$ = "" sourcecount$ = "1" sourceobject$ = _arg2 direction$ = _arg3 count$ = "1" object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> " { SCRIPT { sourcedir$ = "" sourcecount$ = "1" sourceobject$ = _arg2 direction$ = _arg3 count$ = _arg4 object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move to of " { SCRIPT { sourcedir$ = "" sourcecount$ = "1" sourceobject$ = _arg2 side$ = _arg3 object$ = _arg4 arg$ = "MvSel:dir/cnt/obj/end/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> " { SCRIPT { sourcedir$ = "" sourcecount$ = _arg1 sourceobject$ = _arg2 direction$ = _arg3 count$ = "1" object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> <2To20> " { SCRIPT { sourcedir$ = "" sourcecount$ = _arg1 sourceobject$ = _arg2 direction$ = _arg3 count$ = _arg4 object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> to of " { SCRIPT { sourcedir$ = "" sourcecount$ = _arg1 sourceobject$ = _arg2 side$ = _arg3 object$ = _arg4 arg$ = "MvSel:dir/cnt/obj/end/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> to the of the " { SCRIPT { sourcedir$ = "" sourcecount$ = _arg1 sourceobject$ = _arg2 side$ = _arg3 object$ = _arg4 arg$ = "MvSel:dir/cnt/obj/end/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = _arg2 sourceobject$ = _arg3 direction$ = _arg4 count$ = "1" object$ = _arg6 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move the <2To20> " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = _arg2 sourceobject$ = _arg3 direction$ = _arg4 count$ = "1" object$ = _arg6 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> <2To20> " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = _arg2 sourceobject$ = _arg3 direction$ = _arg4 count$ = _arg5 object$ = _arg6 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move the <2To20> <2To20> " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = _arg2 sourceobject$ = _arg3 direction$ = _arg4 count$ = _arg5 object$ = _arg6 arg$ = "MvSel:dir/cnt/obj/dir/cnt/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move <2To20> to of " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = _arg2 sourceobject$ = _arg3 side$ = _arg4 object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/end/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Move the <2To20> to the of the " { SCRIPT { sourcedir$ = _arg1 sourcecount$ = _arg2 sourceobject$ = _arg3 side$ = _arg4 object$ = _arg5 arg$ = "MvSel:dir/cnt/obj/end/obj," + sourcedir$ + "," + sourcecount$ + "," + sourceobject$ + "," + side$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color on " { SCRIPT { foreground$ = _arg2 background$ = _arg3 arg$ = "Fnt:fore/back," + foreground$ + "," + background$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color " { SCRIPT { foreground$ = "" background$ = _arg2 arg$ = "Fnt:fore/back," + foreground$ + "," + background$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color " { SCRIPT { foreground$ = _arg2 background$ = "" arg$ = "Fnt:fore/back," + foreground$ + "," + background$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color " { SCRIPT { verb$ = _arg2 direction$ = "" count$ = "1" object$ = _arg1 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color " { SCRIPT { verb$ = _arg3 direction$ = "" count$ = "1" object$ = _arg2 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color " { SCRIPT { verb$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color the " { SCRIPT { verb$ = _arg3 direction$ = _arg1 count$ = "1" object$ = _arg2 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color 1 " { SCRIPT { verb$ = _arg2 direction$ = "" count$ = "1" object$ = _arg1 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color <2To20> " { SCRIPT { verb$ = _arg3 direction$ = "" count$ = _arg1 object$ = _arg2 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color <2To20> " { SCRIPT { verb$ = _arg4 direction$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Color the <2To20> " { SCRIPT { verb$ = _arg4 direction$ = _arg1 count$ = _arg2 object$ = _arg3 arg$ = "Fnt:vrb/dir/cnt/obj," + verb$ + "," + direction$ + "," + count$ + "," + object$ DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Paste " { KEYS { {Ctrl+v} } } COMMAND " " { SCRIPT { arg$ = "Spe:" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Check Spelling" { SCRIPT { arg$ = "Spe:" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND " " { SCRIPT { arg$ = "Gra:" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "Check Grammar" { SCRIPT { arg$ = "Gra:" DllCall "w97comp.dll", "DgnWordDllCallIfc", arg$ } } COMMAND "What Can I Say" { SCRIPT { id& = 602 WinHelp "Wcisbase.hlp>(w95sec)", 11 } } COMMAND "Select That" { SCRIPT { SendKeys "{Esc 5}" DdeExecute "WinWord", "System", "[ToolsMacro .Name=""WCSelectThat"", .Run]" } } COMMAND "Play That Back" { SCRIPT { SendKeys "{Esc 5}" DdeExecute "WinWord", "System", "[ToolsMacro .Name=""CallToolsPlayThatBack"", .Run]" } } COMMAND " " { SCRIPT { SendKeys "{Esc 5}" if _arg2 = "To Here" or _arg2 = "Up To Here" then DdeExecute "WinWord", "System", "[ToolsMacro .Name=""WCSelectToCursor"", .Run]" if _arg2 = "From Here" or _arg2 = "Down From Here" then DdeExecute "WinWord", "System", "[ToolsMacro .Name=""WCSelectFromCursor"", .Run]" if _arg2 = "Line" then DdeExecute "WinWord", "System", "[ToolsMacro .Name=""WCSelectLine"", .Run]" if _arg2 = "Paragraph" then DdeExecute "WinWord", "System", "[ToolsMacro .Name=""WCSelectParagraph"", .Run]" if _arg2 = "Screen" or _arg2 = "Window" then DdeExecute "WinWord", "System", "[ToolsMacro .Name=""WCSelectScreen"", .Run]" if _arg2 = "Document" then DdeExecute "WinWord", "System", "[ToolsMacro .Name=""WCSelectDocument"", .Run]" if _arg2 = "That" or _arg2 = "Selection" then DdeExecute "WinWord", "System", "[ToolsMacro .Name=""WCSelectThat"", .Run]" if _arg1 = "Read" then SendKeys "{Ctrl+c}" TTSPlayString else DdeExecute "WinWord", "System", "[ToolsMacro .Name=""CallToolsPlaybackSelection"", .Run]" end if Wait 500 if _arg2 = "That" or _arg2 = "Selection" then DdeExecute "WinWord", "System", "[ToolsMacro .Name=""WCRestoreSelection"", .Run]" SendKeys "{Right}" } } COMMAND "Insert MathType Equation" { KEYS { {Alt+m}e } } COMMAND "Insert Numbered Displayed Equation" { KEYS { {Alt+m}b } } COMMAND "Format Normal" { KEYS { {Ctrl+Shift+n} } } COMMAND "Insert Footnote" { KEYS { {Ctrl+Alt+f} } } COMMAND "Format Font Symbol" { KEYS { {Ctrl+Shift+q} } } COMMAND "Format Times Font" { KEYS { {Ctrl+t} } } COMMAND "Insert Displayed Equation" { KEYS { {Alt+m}d } } COMMAND "Insert Cross Reference" { KEYS { {Alt+m}r } } COMMAND "Symbol Arrow Down" { KEYS { {Ctrl+k}{Down} } } COMMAND "Symbol Arrow Left" { KEYS { {Ctrl+k}{Left} } } COMMAND "Symbol Arrow Right" { KEYS { {Ctrl+k}{Right} } } COMMAND "Symbol Arrow Up" { KEYS { {Ctrl+k}{Up} } } COMMAND "Symbol Define Equal" { KEYS { {Ctrl+k}= } } COMMAND "Symbol Divide" { KEYS { {Ctrl+Shift+k}/ } } COMMAND "Symbol Dot" { KEYS { {Ctrl+Shift+k}. } } COMMAND "Symbol Double Arrow Down" { KEYS { {Ctrl+k}{Shift+Down} } } COMMAND "Symbol Double Arrow Left" { KEYS { {Ctrl+k}{Shift+Left} } } COMMAND "Symbol Double Arrow Right" { KEYS { {Ctrl+k}{Shift+Right} } } COMMAND "Symbol Double Arrow Up" { KEYS { {Ctrl+k}{Shift+Up} } } COMMAND "Symbol Equal Tilde" { KEYS { {Ctrl+k}~ } } COMMAND "Symbol For All" { KEYS { {Ctrl+Shift+k}a } } COMMAND "Symbol Intersection" { KEYS { {Ctrl+k}x } } COMMAND "Symbol Less Equal" { KEYS { {Ctrl+k}, } } COMMAND "Symbol Not" { KEYS { {Ctrl+Shift+k}n } } COMMAND "Symbol Not Element Of" { KEYS { {Ctrl+k}{Shift+e} } } COMMAND "Symbol Not Equal" { KEYS { {Ctrl+k}+ } } COMMAND "Symbol Partial" { KEYS { {Ctrl+k}d } } COMMAND "Symbol Real Numbers" { KEYS { {Ctrl+d}{Shift+r} } } COMMAND "Symbol Sub Set" { KEYS { {Ctrl+k}c } } COMMAND "Symbol There Exists" { KEYS { {Ctrl+Shift+k}e } } COMMAND "Symbol Union" { KEYS { {Ctrl+k}u } } COMMAND "Symbol Element Of" { KEYS { {Ctrl+k}e } } COMMAND "Symbol Greater Equal" { KEYS { {Ctrl+k}. } } COMMAND "Symbol Join" { KEYS { {Ctrl+Shift+k}7 } } COMMAND "Symbol Meet" { KEYS { {Ctrl+Shift+k}m } } LIST "thatItSelection" { "That" "This" "It" "Them" "Selection" } LIST "makeAddInsertCreate" { "Make" "Add" "Insert" "Create" "Start" "Make a" "Add a" "Insert a" "Create a" "Start a" "Make 1" "Add 1" "Insert 1" "Create 1" } LIST "a1" { "a" "1" } LIST "moveGo" { "Move" "Go" } LIST "make" { "Make" "Make the" "Make this" } LIST "set" { "Set" "Set the" } LIST "formatMakeSetTurn" { "Format" "Make" "Set" "Turn" } LIST "MoveDir" { "Back" "Backward" "Left" "Up" "Ahead" "Forward" "Down" "Right" } LIST "Side" { "Top" "Bottom" "Start" "Beginning" "End" } LIST "firstLast" { "First" "Last" } LIST "onOff" { "On" "Off" } LIST "theThis" { "the" "This" } LIST "thatItFontSelection" { "That" "This" "It" "Them" "Font" "Selection" "the Font" "the Selection" } LIST "thatItSizeSelection" { "That" "This" "It" "Them" "Size" "Selection" "the Size" "the Selection" } LIST "thatItColorSelection" { "That" "This" "It" "Them" "Color" "Selection" "the Color" "the Selection" } LIST "FontColor" { "Black" "Blue" "Bright Green" "Dark Blue" "Dark Red" "Dark Yellow" "Gray" "Green" "Pink" "Red" "Teal" "Turquoise" "Violet" "White" "Yellow" "Normal" "Default" "Auto" } LIST "FontName" { "Albertus Extra Bold" "Albertus Medium" "Antique Olive" "Arial" "Arial Black" "Arial Narrow" "Book Antiqua" "Bookman Old Style" "Century Gothic" "Clarendon Condensed" "Copperplate Gothic Bold" "Copperplate Gothic Light" "Coronet" "Courier" "Courier New" "Garamond" "Impact" "Letter Gothic" "Lucida Console" "Lucida Handwriting" "Marigold" "Symbol" "Tahoma" "Times" "Times New Roman" "Univers" "Univers Condensed" "Wingdings" } LIST "FontSize" { "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "22" "24" "25" "26" "28" "30" "36" "40" "48" "60" "72" "84" "96" "100" "120" } LIST "nextLast" { "Next" "Forward" "Following" "Last" "Back" "Previous" } LIST "background" { "Background" "the Background" } LIST "2To20" { "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" } LIST "1To20" { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" } LIST "1To100" { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23" "24" "25" "26" "27" "28" "29" "30" "31" "32" "33" "34" "35" "36" "37" "38" "39" "40" "41" "42" "43" "44" "45" "46" "47" "48" "49" "50" "51" "52" "53" "54" "55" "56" "57" "58" "59" "60" "61" "62" "63" "64" "65" "66" "67" "68" "69" "70" "71" "72" "73" "74" "75" "76" "77" "78" "79" "80" "81" "82" "83" "84" "85" "86" "87" "88" "89" "90" "91" "92" "93" "94" "95" "96" "97" "98" "99" "100" } LIST "Object" { "Character" "Word" "Line" "Sentence" "Paragraph" "Section" "Page" "Column" "Row" "Cell" "Table" "Document" "Entire Document" "Whole Document" "All" } LIST "Objects" { "Characters" "Words" "Lines" "Sentences" "Paragraphs" "Sections" "Pages" "Columns" "Rows" "Cells" "Tables" } LIST "InsertObject" { "Space" "Line" "Blank Line" "Paragraph" "Section" "Section Break" "Row" "Column" "Page Break" "Page" "Number" "Numbers" "Numbering" "Bullet" "Bullets" "Bulleting" "Border" "Borders" "Table" "New Section" "New Row" "New Column" "New Page" "New Table" } LIST "InsertObjects" { "Spaces" "Lines" "Blank Lines" "Paragraphs" "Sections" "Section Breaks" "Rows" "Columns" "Page Breaks" "Pages" } LIST "Imperative" { "Select" "Underline" "Bold" "Italicize" "Delete" "Copy" "Cut" "Capitalize" } LIST "FontStyle" { "Black" "Blue" "Bright Green" "Dark Blue" "Dark Red" "Dark Yellow" "Gray" "Green" "Pink" "Red" "Teal" "Turquoise" "Violet" "White" "Yellow" "No Highlight" "Bold" "Bolded" "Bolding" "Double Strike Through" "Embossed" "Engraved" "Hidden" "Italics" "Italicized" "Shadowed" "Superscript" "Subscript" "Underline" "Underlined" "Double Underlined" "Wavy Underlined" "Thick Underlined" "Strike Through" "Bigger" "Larger" "Smaller" "Much Bigger" "Much Larger" "Much Smaller" "a Little Bigger" "a Little Larger" "a Little Smaller" "a Lot Bigger" "a Lot Larger" "a Lot Smaller" "Normal" "Default" "Plain" "Plain Text" "Regular" "Lowercase" "No Caps" "Initial Caps" "Capitals" "Capitalized" "Caps" "Uppercase" "Small Caps" } LIST "BigObject" { "Line" "Sentence" "Paragraph" "Page" "Section" "Column" "Row" "Cell" "Table" "Document" "Entire Document" "Whole Document" "All" } LIST "BigObjects" { "Lines" "Sentences" "Paragraphs" "Pages" "Sections" "Columns" "Rows" "Cells" "Tables" } LIST "ParaStyle" { "Centered" "Center Aligned" "Left Aligned" "Right Aligned" "Left Justified" "Right Justified" "Justified" "Indented" "Outdented" "Bulleted" "Numbered" "a Bulleted List" "a Numbered List" "Bullet Style" "Single Spaced" "Double Spaced" "One Column" "Two Column" "Two Columns" "Three Column" "Three Columns" "Four Column" "Four Columns" "Five Column" "Five Columns" } LIST "ParaStyleNoun" { "Centering" "Left Alignment" "Right Alignment" "Left Justification" "Right Justification" "Justification" "Indenting" "Indentation" "Outdenting" "Bullets" "Numbers" "No Numbers" "Bulleting" "Numbering" } LIST "ParaVerb" { "Center" "Left Align" "Right Align" "Left Justify" "Right Justify" "Justify" "Indent" "Outdent" "Bullet" "Number" "Unnumber" "AutoFormat" "Single Space" "Double Space" } LIST "indentation" { "Indent" "Indentation" } LIST "FontStyleType" { "Default Text" "Emphasized Text" "Highlighted Text" "Comment Text" } LIST "ParaStyleType" { "Normal Text" "Text" "Body Text" "Body Text 2" "Body Text 3" "Plain Text" "a Quote" "Quoted Text" "a Caption" "a Heading" "Heading 1" "Heading 2" "Heading 3" "a Heading 1" "a Heading 2" "a Heading 3" "a Major Heading" "a Minor Heading" "a List" "List 2" "List 3" "a Bulleted List" "Bulleted List 2" "Bulleted List 3" "a Title" "a Subtitle" "a Numbered List" "Numbered List 2" "Numbered List 3" } LIST "toThrough" { "To" "2" "Through" } LIST "PrintObject" { "Document" "All" "This Document" "the Document" "Page" "the Page" "This Page" "the Current Page" "Preview" "Preview On" "Preview Off" } LIST "runDo" { "Run" "Do a" } LIST "SpellingCommand" { "Spell Checker" "Spelling Checker" "Spelling Check" "Spell Check" } LIST "GrammarCommand" { "Grammar Checker" "Grammar Check" } LIST "leftRightTopBottom" { "Left" "Right" "Top" "Bottom" } LIST "Distance" { "0" ".1" ".2" ".3" ".4" ".5" "a Half" "One Half" "Half a" "Half an" "a Half an" ".6" ".7" ".8" ".9" "1" "a" "an" "1.0" "1.1" "1.2" "1.3" "1.4" "1.5" "One and One Half" "One and a Half" "an Inch and a Half" "a Centimeter and a Half" "1.6" "1.7" "1.8" "1.9" "2" "2.0" "2.1" "2.2" "2.3" "2.4" "2.5" "Two and One Half" "Two and a Half" "2.6" "2.7" "2.8" "2.9" "3" "3.0" "3.1" "3.2" "3.3" "3.4" "3.5" "Three and One Half" "Three and a Half" "3.6" "3.7" "3.8" "3.9" "4" "4.0" "4.1" "4.2" "4.3" "4.4" "4.5" "Four and One Half" "Four and a Half" "4.6" "4.7" "4.8" "4.9" "5" "5.0" "5.1" "5.2" "5.3" "5.4" "5.5" "Five and One Half" "Five and a Half" "5.6" "5.7" "5.8" "5.9" "6" "6.0" "6.1" "6.2" "6.3" "6.4" "6.5" "Six and One Half" "Six and a Half" "6.6" "6.7" "6.8" "6.9" "7" "7.0" "7.1" "7.2" "7.3" "7.4" "7.5" "Seven and One Half" "Seven and a Half" "7.6" "7.7" "7.8" "7.9" "8" "8.0" "8.1" "8.2" "8.3" "8.4" "8.5" "Eight and One Half" "Eight and a Half" "8.6" "8.7" "8.8" "8.9" "9" "9.0" "9.1" "9.2" "9.3" "9.4" "9.5" "Nine and One Half" "Nine and a Half" "9.6" "9.7" "9.8" "9.9" "10" } LIST "Unit" { "Inch" "Inches" "Centimeter" "Centimeters" "Point" "Points" "Pica" "Picas" } LIST "Selection" { "Selection" "That" } LIST "Action" { "Cut" "Copy" "Bold" "Italicize" "Underline" "Center" "Left Align" "Right Align" "Delete" "Restore" } LIST "Formatting" { "Cap" "Caps" "Initial Caps" "Capitals" "All-Caps" "Uppercase" "No-Caps" "Lowercase" "Centered" "Center Aligned" "Left Aligned" "Right Aligned" "Bullet Style" "With Hyphens" "Without Spaces" } LIST "FontFace" { "Times" "Times New Roman" "Courier" "Courier New" "Arial" } LIST "playPlaybackRead" { "Play" "Play Back" "Read" } LIST "ReadText" { "That" "Line" "Paragraph" "Document" "Screen" "Window" "From Here" "To Here" "Selection" "Up To Here" "Down From Here" } } } MENU "OUTLOOK" { STATE "Microsoft Outlook" { COMMAND " " { SCRIPT { SendKeys "{ctrl+y}{alt+f}" + _arg2 + "{enter}" } } COMMAND " Message <1to20> From " { SCRIPT { HeardWord "View","Messages","From",_arg3 HeardWord "Open","Message",_arg2 } } COMMAND "View All Messages" { SCRIPT { ' reset the filtering SendKeys "{alt+v}l" Wait 10 SendKeys "{alt+a}{enter}" } } COMMAND "Send to " { SCRIPT { SendKeys "{ctrl+n}" HeardWord "Send","to",_arg2 } } COMMAND "Send to and " { SCRIPT { SendKeys "{ctrl+n}" HeardWord "Send","to",_arg2 HeardWord "Send","to",_arg3 } } COMMAND "Send to and " { SCRIPT { SendKeys "{ctrl+n}" HeardWord "Send","to",_arg2 HeardWord "Send","to",_arg3 HeardWord "Send","to",_arg4 } } COMMAND " Message <1to20>" { SCRIPT { SendKeys "{ctrl+home}" if _arg2 <> "1" then count& = Val(_arg2) - 1 SendKeys "{down "+Str$(count&)+"}" end if SendKeys "{enter}" } } COMMAND " Messages From " { SCRIPT { ' this works by setting a filter SendKeys "{alt+v}l" Wait 10 SendKeys "{alt+a}{alt+r}" Wait 10 SendKeys _arg2 Wait 500 SendKeys "{alt+f}{enter}" Wait 10 SendKeys "{enter}" } } COMMAND "Delete All New Messages" { SCRIPT { SendKeys "{ctrl+y}{alt+f}" + "Outbox" + "{enter}" Wait 10 SendKeys "{ctrl+a}" Wait 10 SendKeys "{del}" SendKeys "{ctrl+y}{alt+f}" + "Sent Items" + "{enter}" Wait 10 SendKeys "{ctrl+a}" Wait 10 SendKeys "{del}" } } COMMAND "Move Message to " { SCRIPT { SendKeys "{ctrl+shift+v}" Wait 10 SendKeys "{home}" + left$(_arg1,1) SendKeys "{enter"} } } COMMAND "Sort by " { SCRIPT { SendKeys "{alt+v}r{alt+s}{ctrl+home}" if _arg1 = "Who" then SendKeys "f{down}" if _arg1 = "Name" then SendKeys "f{down}" if _arg1 = "From" then SendKeys "f{down}" if _arg1 = "Author" then SendKeys "f{down}" if _arg1 = "Subject" then SendKeys "s{down 3}" if _arg1 = "Date" then SendKeys "r" if _arg1 = "Received" then SendKeys "r" SendKeys "{enter}" } } COMMAND "Show Calendar for Tomorrow" { SCRIPT { SendKeys "{Alt+g}c{Alt+g}a{right}" } } COMMAND "New Appointment" { KEYS { {Ctrl+Shift+a} } } COMMAND "New Contact" { KEYS { {Ctrl+Shift+c} } } COMMAND "New Note" { KEYS { {Ctrl+Shift+n} } } COMMAND "New Task" { KEYS { {Ctrl+Shift+k} } } COMMAND "Copy Item" { KEYS { {Ctrl+Shift+y} } } COMMAND "Move Item" { KEYS { {Ctrl+Shift+v} } } LIST "messageOrMail" { "Message" "Mail" } LIST "sortType" { "Who" "From" "Author" "Subject" "Date" "Received" "Name" } LIST "openOrRead" { "Open" "Read" } LIST "openOrView" { "Open" "View" } LIST "1to20" { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" } LIST "userName" { "Allan" } LIST "folder" { "Inbox" "Sent Items" "Outbox" "Deleted Items" "Business Folder" "Personal Folder" } } STATE "Message" { COMMAND "Send This Message" { SCRIPT { SendKeys "{alt+s}" } } COMMAND "Discard This Message" { SCRIPT { SendKeys "{esc}n" } } COMMAND "Flag as " { SCRIPT { SendKeys "{alt+f}i{alt+i}" if _arg1 = "Low Priority" then SendKeys "l" if _arg1 = "Normal Priority" then SendKeys "n" if _arg1 = "High Priority" then SendKeys "h" SendKeys "{enter}" } } COMMAND "Flag as " { SCRIPT { SendKeys "{ctrl+shift+g}" Wait 10 SendKeys _arg1 + "{enter}" ' TODO usual font setting commands } } COMMAND "Reply to This Message" { SCRIPT { SendKeys "{Alt+r}" } } COMMAND "Forward This Message to " { SCRIPT { SendKeys "{Alt+f}" HeardWord "Send","to",_arg1 } } COMMAND "Forward to " { SCRIPT { SendKeys "{Alt+f}" HeardWord "Send","to",_arg1 } } COMMAND "Forward This Message to and " { SCRIPT { SendKeys "{Alt+f}" HeardWord "Send","to",_arg1 HeardWord "Send","to",_arg2 } } COMMAND "Forward to and " { SCRIPT { SendKeys "{Alt+f}" HeardWord "Send","to",_arg1 HeardWord "Send","to",_arg2 } } COMMAND "Forward This Message to and " { SCRIPT { SendKeys "{Alt+f}" HeardWord "Send","to",_arg1 HeardWord "Send","to",_arg2 HeardWord "Send","to",_arg3 } } COMMAND "Forward to and " { SCRIPT { SendKeys "{Alt+f}" HeardWord "Send","to",_arg1 HeardWord "Send","to",_arg2 HeardWord "Send","to",_arg3 } } COMMAND "Close This Message" { SCRIPT { SendKeys "{Esc}" } } COMMAND " to " { SCRIPT { SendKeys "{alt+c}" SendKeys _arg2 if _arg1 = "Send" then SendKeys "{alt+o}" if _arg1 = "Copy" then SendKeys "{alt+c}" SendKeys "{enter}" } } COMMAND " This Message to " { SCRIPT { HeardWord _arg1,"to",_arg2 } } COMMAND "Flag This Message as " { SCRIPT { HeardWord "Flag","as",_arg1 } } COMMAND "Flag This Message as " { SCRIPT { HeardWord "Flag","as",_arg1 } } COMMAND "Move to " { SCRIPT { SendKeys "{ctrl+shift+v}" Wait 10 SendKeys "{home}" + left$(_arg1,1) SendKeys "{enter"} } } COMMAND "Move This Message to " { SCRIPT { HeardWord "Move","to",_arg1 } } COMMAND "Enter " { SCRIPT { SendKeys "{alt+j}" if _arg1 = "Body" then SendKeys "{tab}" if _arg1 = "Message" then SendKeys "{tab}" } } LIST "folder" { "Inbox" "Sent Items" "Outbox" "Deleted Items" "Business Folder" "Personal Folder" } LIST "flagType" { "Follow up" "For Your Information" "Forward" "No Response Necessary" "Do not Forward" "Call" "Review" } LIST "sendOrCopy" { "Send" "Copy" } LIST "priorityLevel" { "High Priority" "Normal Priority" "Low Priority" } LIST "fieldName" { "Subject" "Body" "Message" } LIST "userName" { "Allan" } } } MENU "SWP-PRO" { STATE "Scientific WorkPlace" { COMMAND "Toggle Math" { KEYS { {Ctrl+m} } } COMMAND "Greek Word " { SCRIPT { SendKeys "{Ctrl+g}"+_arg1+"{Ctrl+g}" } } COMMAND "Toggle Greek" { KEYS { {Ctrl+g} } } COMMAND "Decorate Hat" { KEYS { {Ctrl+^} } } COMMAND "Decorate Tilde" { KEYS { {Ctrl+~} } } COMMAND "Decorate Dot" { KEYS { {Ctrl+.} } } COMMAND "Decorate Upper Bar" { KEYS { {Ctrl+=} } } COMMAND "Decorate Arrow" { KEYS { {Ctrl+-} } } COMMAND "Format Remove Item Tag" { KEYS { {F2} } } COMMAND "Format Bold Text" { KEYS { {F5} } } COMMAND "Format Normal Text" { KEYS { {F4} } } COMMAND "Format Numbered List" { KEYS { {F7} } } COMMAND "Format Bullet List" { KEYS { {F8} } } COMMAND "Format Calligraphic" { KEYS { {F9} } } COMMAND "Insert Open Quote" { KEYS "`" } COMMAND "Insert Fraction" { KEYS { {Ctrl+f} } } COMMAND "Insert Displayed Equation" { KEYS { {Ctrl+d} } } COMMAND "Insert Em Dash" { KEYS "---" } COMMAND "Insert Thin Space" { KEYS { {Ctrl+Space} } } COMMAND "Insert Thick Space" { KEYS { {Shift+Space} } } COMMAND "Insert Em Space" { KEYS { {Ctrl+Shift+Space} } } COMMAND "Insert Two By Two Matrix" { KEYS { {Ctrl+a} } } COMMAND "Symbol Element Of" { KEYS { {Ctrl+s}e } } COMMAND "Symbol Absolute Value" { KEYS { {Ctrl+|} } } COMMAND "Symbol Radical" { KEYS { {Ctrl+r} } } COMMAND "Symbol Partial" { KEYS { {Ctrl+s}d } } COMMAND "Symbol For All" { KEYS { {Ctrl+s}A } } COMMAND "Symbol Super Set" { KEYS { {Ctrl+s}% } } COMMAND "Symbol Sub Set" { KEYS { {Ctrl+s}c } } COMMAND "Insert Parentheses Pair" { KEYS { {Ctrl+s}( } } COMMAND "Insert Braces Pair" { KEYS { {Ctrl+s}{ } } COMMAND "Insert Bracket Pair" { KEYS { {Ctrl+s}[ } } COMMAND "Symbol Define Equal" { KEYS { {Ctrl+s}- } } COMMAND "Symbol Not Equal" { KEYS { {Ctrl+s}= } } COMMAND "Symbol Approximately Equal" { KEYS { {Ctrl+s}w } } COMMAND "Symbol Kroneker Product" { KEYS { {Ctrl+s}t } } COMMAND "Symbol Empty Set" { KEYS { {Ctrl+s}o } } COMMAND "Symbol Summation" { KEYS { {Ctrl+s}s } } COMMAND "Superscript" { KEYS { {Ctrl+h} } } COMMAND "Subscript" { KEYS { {Ctrl+l} } } COMMAND "Symbol Dot" { KEYS { {Ctrl+s}b } } COMMAND "Symbol Gradient" { KEYS { {Ctrl+s}n } } COMMAND "Symbol Double Arrow Down" { KEYS { {Ctrl+s}$ } } COMMAND "Symbol Double Arrow Up" { KEYS { {Ctrl+s}@ } } COMMAND "Symbol Double Arrow Right" { KEYS { {Ctrl+s}! } } COMMAND "Symbol Double Arrow Left" { KEYS { {Ctrl+s}# } } COMMAND "Symbol Equal Tilde" { KEYS { {Ctrl+s}_ } } COMMAND "Symbol Divide" { KEYS { {Ctrl+s}X } } COMMAND "Symbol Multiply" { KEYS { {Ctrl+s}x } } COMMAND "Symbol Meet" { KEYS { {Ctrl+s}v } } COMMAND "Symbol Join" { KEYS { {Ctrl+s}V } } COMMAND "Symbol Not" { KEYS { {Ctrl+s}N } } COMMAND "Symbol Less Equal" { KEYS { {Ctrl+s}< } } COMMAND "Symbol Greater Equal" { KEYS { {Ctrl+s}> } } COMMAND "Symbol There Exists" { KEYS { {Ctrl+s}z } } COMMAND "Symbol Plus or Minus" { KEYS { {Ctrl+s}+ } } COMMAND "Symbol Natural Numbers" { KEYS { {Ctrl+s}W } } COMMAND "Symbol Not an Element Of" { KEYS { {Ctrl+s}E } } COMMAND "Symbol Infinity" { KEYS { {Ctrl+s}I } } COMMAND "Greek " { SCRIPT { SendKeys "{Ctrl+g}"+_arg1 } } COMMAND "Symbol Right Arrow" { KEYS { {Ctrl+s}1 } } COMMAND "Symbol Up Arrow" { KEYS { {Ctrl+s}2 } } COMMAND "Symbol Left Arrow" { KEYS { {Ctrl+s}3 } } COMMAND "Symbol Down Arrow" { KEYS { {Ctrl+s}4 } } COMMAND "Symbol Weak Super Set" { KEYS { {Ctrl+s}5 } } COMMAND "Symbol Weak Sub Set" { KEYS { {Ctrl+s}7 } } COMMAND "Symbol Intersection" { KEYS { {Ctrl+s}6 } } COMMAND "Symbol Union" { KEYS { {Ctrl+s}8 } } COMMAND "Insert Space" { KEYS { {Ctrl+m}{Space} } } COMMAND "Insert Math Letter " { SCRIPT { SendKeys "{Space}" +"{Ctrl+m}"+_arg1+"{Ctrl+m}"+"{Space}" } } COMMAND "Print Preview" { KEYS { {Alt+p}w{Enter} } } COMMAND "Insert Marker" { KEYS { {Alt+i}em } } COMMAND "Insert Cross Reference" { KEYS { {Alt+i}er } } COMMAND "Insert Footnote" { KEYS { {Alt+i}en } } COMMAND "Symbol Product" { KEYS { {Ctrl+p} } } COMMAND "Symbol Integral" { KEYS { {Ctrl+i} } } COMMAND "Insert Theorem" { KEYS { {Alt+t}aTheorem{Enter} } } COMMAND "Insert Proposition" { KEYS { {Alt+t}aProposition{Enter} } } COMMAND "Insert Lemma" { KEYS { {Alt+t}aLemma{Enter} } } COMMAND "Insert Definition" { KEYS { {Alt+t}aDefinition{Enter} } } COMMAND "Insert Corollary" { KEYS { {Alt+t}aCorollary{Enter} } } COMMAND "Insert Section" { KEYS { {F11} } } COMMAND "Insert Sub Sub Section" { KEYS { {Alt+t}aSubsubsection{Enter} } } COMMAND "Insert Sub Sub Sub Section" { KEYS { {Alt+t}aSubsubsubsection{Enter} } } COMMAND "Insert Sub Section" { KEYS { {F12} } } COMMAND "Insert Vertical Space" { KEYS { {Alt+i}sv } } COMMAND "Insert Horizontal Space" { KEYS { {Alt+i}sh } } COMMAND "Insert Break" { KEYS { {Alt+i}sb } } COMMAND "Insert Open Double Quote" { KEYS "``" } LIST "Alphabet" { "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s" "t" "u" "v" "w" "x" "y" "z" } LIST "ICAlphabet" { "a\\alpha" "b\\bravo" "c\\charlie" "d\\delta" "e\\echo" "f\\foxtrot" "g\\golf" "h\\hotel" "i\\india" "j\\juliett" "k\\kilo" "l\\lima" "m\\mike" "n\\november" "o\\oscar" "p\\papa" "q\\quebec" "r\\romeo" "s\\sierra" "t\\tango" "u\\uniform" "v\\victor" "w\\whiskey" "x\\xray" "y\\yankee" "z\\zulu" } } } MENU "EUDORA" { STATE "Eudora Pro" { COMMAND "New Message" { KEYS { {Ctrl+n} } } COMMAND "Address Book" { KEYS { {Ctrl+l} } } COMMAND "Send message" { KEYS { {Ctrl+e} } } COMMAND "New Message to" { KEYS { {Alt+m}m } } COMMAND "Check Mail" { KEYS { {Ctrl+m} } } COMMAND "Reply to Sender" { KEYS { {Ctrl+r} } } COMMAND "Delete Message" { KEYS { {Ctrl+d} } } COMMAND "click to" { KEYS { {Alt+t} } } COMMAND "click delete" { KEYS { {Alt+d} } } COMMAND "click c c" { KEYS { {Alt+c} } } COMMAND "click new" { KEYS { {Alt+n} } } COMMAND "Attach File" { KEYS { {Ctrl+h} } } COMMAND "Disable Check" { SCRIPT { ' Eudora 3.01SendKeys "{Alt+t}o{ExtHome}{ExtDown}{ExtDown}{ExtDown}" ' Eudora 4.01 follows SendKeys "{Alt+t}o{ExtHome}{ExtDown}" HeardWord "Click","Check","for","mail","every" Wait 200 SendKeys "0" HeardWord "Click","OK" } } COMMAND "Empty Trash" { SCRIPT { MsgBoxConfirm "Really empty trash?",4, "Eudora confirmation" SendKeys "{Alt+s}e" } } COMMAND "Enable Check" { SCRIPT { ' Eudora 3.01SendKeys "{Alt+t}o{ExtHome}{ExtDown}{ExtDown}{ExtDown}" ' Eudora 4.01 follows SendKeys "{Alt+t}o{ExtHome}{ExtDown}" HeardWord "Click","Check","for","mail","every" Wait 200 SendKeys "2" HeardWord "Click","OK" } } COMMAND "Filter Messages" { KEYS { {Ctrl+j} } } COMMAND "Find Again" { KEYS { {F3} } } COMMAND "Find First Hyperlink" { KEYS { {Ctrl+f}{Home}{Shift+End}{BackSpace}http://{Enter} } } COMMAND "Find in Next Message" { KEYS { {Alt+e}im } } COMMAND "Jump to Message" { KEYS { {Alt+c}{Tab}{Tab} } } COMMAND "Kill Window" { KEYS { {Ctrl+F4} } } COMMAND "Lower Window" { KEYS { {Ctrl+F6} } } COMMAND "Mark Unread" { KEYS { {Alt+m}csu } } COMMAND "Move Subject Line" { SCRIPT { MsgBoxConfirm "Cut top line of message and move it to the subject line?",4, "Eudora confirmation" HeardWord "Jump", "to","Message" Wait 200 HeardWord "Top","of","Document" SendKeys "{Shift+End}{Ctrl+x}" Wait 100 SendKeys "{Alt+u}" SendKeys "{Ctrl+v}{Backspace}" } } COMMAND "Next Message" { SCRIPT { SendKeys "{Alt+ExtRight}" } } COMMAND "No Signature" { SCRIPT { SendKeys "{Alt+-}x" 'SetMousePosition 1,180,70 SetMousePosition 1,180,60 Wait 300 ButtonClick SendKeys "{Home}{Enter}" 'following line new on Eudora 4.1 ButtonClick SendKeys "{Alt+-}r" } } COMMAND "Paste as Quotation" { KEYS { {Ctrl+'} } } COMMAND "Previous Message" { SCRIPT { SendKeys "{Alt+ExtLeft}" } } COMMAND "Send Messages" { KEYS { {Ctrl+e} } } COMMAND "Short Indention" { KEYS { {Home} {Down}{Home} } } COMMAND "View Mailboxes" { KEYS { {RightAlt+t}v } } COMMAND "dot com" { KEYS ".com" } COMMAND "dot edu" { KEYS ".edu" } COMMAND "dot gov" { KEYS ".gov" } COMMAND "dot net" { KEYS ".net" } COMMAND "dot org" { KEYS ".org" } COMMAND "window menu" { KEYS { {Alt+-} } } } STATE "New Nickname" { COMMAND "Recipient List" { KEYS { {Alt+p} } } COMMAND "Ok" { KEYS { {enter} } } } } MENU "EXCEL" { STATE "Microsoft Excel" { COMMAND "enter key" { KEYS { {enter} } } COMMAND "click file" { KEYS { {Alt+f} } } COMMAND "select column" { KEYS { {f8}{Ctrl+down} } } COMMAND "select line" { KEYS { {f8}{Ctrl+right} } } COMMAND "previous sheet" { KEYS { {Ctrl+PgUp} } } COMMAND "click edit" { KEYS { {Alt+e} } } COMMAND "click data" { KEYS { {Alt+d} } } COMMAND "click window" { KEYS { {Alt+w} } } COMMAND "click view" { KEYS { {Alt+v} } } COMMAND "click insert" { KEYS { {Alt+i} } } COMMAND "click format" { KEYS { {Alt+o} } } COMMAND "click tools" { KEYS { {Alt+t} } } COMMAND "print preview" { KEYS { {Alt+f}v } } COMMAND "next sheet" { KEYS { {Ctrl+PgDn} } } COMMAND "go home" { KEYS { {Ctrl+home} } } COMMAND "v look up" { KEYS "=vlookup(" } COMMAND "sum column" { KEYS "=sum(" } COMMAND "finish formula" { KEYS { ){enter} } } COMMAND "dot dot" { KEYS ".." } COMMAND "data subtotals" { KEYS { {Alt+d}b } } COMMAND "ok" { KEYS { {enter} } } COMMAND "data sort" { KEYS { {Alt+d}s } } COMMAND "insert column" { KEYS { {Alt+i}c } } COMMAND "insert row" { KEYS { {Alt+i}r } } COMMAND "file save" { KEYS { {Ctrl+s} } } COMMAND "file open" { KEYS { {Ctrl+o} } } COMMAND "select <1to20> cells" { SCRIPT { if _arg1 = "up" then SendKeys "{Up}{Shift+Up " +_arg2+ "}" if _arg1 = "down" then SendKeys "{Down}{Shift+Down " +_arg2+"}" if _arg1 = "left" then SendKeys "{Left}{Shift+Left "+_arg2+ "}" if _arg1 = "right" then SendKeys "{Right}{Shift+Right " +_arg2+ "}" } } COMMAND "copy <1to20> cells" { SCRIPT { Sendkeys "{Ctrl+c}" if _arg1 = "up" then SendKeys "{Up}{Shift+Up " +_arg2+ "}" if _arg1 = "down" then SendKeys "{Down}{Shift+Down " +_arg2+ "}" if _arg1 = "left" then SendKeys "{Left}{Shift+Left "+_arg2+ "}" if _arg1 = "right" then SendKeys "{Right}{Shift+Right " +_arg2+ "}" Sendkeys "{Ctrl+v}{Esc}{Up}{Down}" } } LIST "1to20" { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" } LIST "direction" { "up" "down" "left" "right" } } STATE "Subtotal" { COMMAND "ok" { KEYS { {enter} } } } STATE "Sort" { COMMAND "ok" { KEYS { {enter} } } } } MENU "EMACS" { STATE "Emacs" { COMMAND "Beginning of Buffer" { KEYS { {Esc}< } } COMMAND "Beginning of Line" { KEYS { {Ctrl+a} } } COMMAND "Buffers Menu" { SCRIPT { SendKeys "{Alt}" Wait 200 SendKeys "{ExtDown}" } } COMMAND "Byte Compile" { KEYS { {Esc}xemacs-lisp-byte-compile{Enter} } } COMMAND "Cache Buffer" { KEYS { {Esc}xinsert-selection-into-cache-pad{Enter} } } COMMAND "Cache Region" { KEYS { {Esc}xinsert-region-into-cache-pad{Enter} } } COMMAND "Cache Word" { KEYS { {Esc}xinsert-cache-pad{Enter} } } COMMAND "Cancel" { KEYS { {Ctrl+]} } } COMMAND "Compare two buffers" { SCRIPT { SendKeys "{Esc}xediff-buffers{Enter}" MsgBoxConfirm "Use default ediff viewing method?", 4,"emacs confirmation" SendKeys "{Enter}{Enter}" } } COMMAND "Copy Entire Buffer" { SCRIPT { HeardWord "Beginning", "of", "Buffer" HeardWord "Set", "Mark" HeardWord "End", "of", "Buffer" HeardWord "Copy", "Region" } } COMMAND "Copy Region" { KEYS { {Esc}xcopy-region-as-kill{Enter} } } COMMAND "Copy Selection" { KEYS { {ctrl+w}{ctrl+y} } } COMMAND "Count Region" { KEYS { {Esc}x= } } COMMAND "Delete Blank Lines" { KEYS { {Ctrl+x}{Ctrl+o} } } COMMAND "Delete Frame" { SCRIPT { MsgBoxConfirm "Really delete this frame?", 4,"emacs confirmation" SendKeys "{Ctrl+x}50" } } COMMAND "Delete Other Windows" { SCRIPT { MsgBoxConfirm "Really delete other windows?", 4,"emacs confirmation" SendKeys "{Ctrl+x}1" } } COMMAND "Delete Window" { SCRIPT { MsgBoxConfirm "Really delete this window?", 4,"emacs confirmation" SendKeys "{Ctrl+x}0" } } COMMAND "Describe Function" { KEYS { {Ctrl+h}f } } COMMAND "Directory Mode" { KEYS { {Ctrl+x}d } } COMMAND "Double Select" { SCRIPT { HeardWord "Select" HeardWord "Select" } } COMMAND "Emacs Grep" { KEYS { {Esc}xxgrep{Enter} } } COMMAND "Emacs Quit" { KEYS { {Ctrl+g} } } COMMAND "End of Buffer" { KEYS { {Esc}> } } COMMAND "End of Line" { KEYS { {Ctrl+e} } } COMMAND "Evaluate Expression" { KEYS { {Esc}xeval-expression{Enter} } } COMMAND "Exchange Point and Mark" { KEYS { {Ctrl+x}{Ctrl+x} } } COMMAND "Exit Emacs" { KEYS { {Ctrl+x}{Ctrl+c} } } COMMAND "Files Menu" { SCRIPT { SendKeys "{Alt}" Wait 200 SendKeys "{ExtRight}{ExtDown}" } } COMMAND "Find Alternate File" { KEYS { {Ctrl+x}{Ctrl+v} } } COMMAND "Find File" { KEYS { {Ctrl+x}{Ctrl+f} } } COMMAND "Find Pasted File" { KEYS { {Ctrl+x}{Ctrl+f}{Ctrl+y} } } COMMAND "Find Symbol <1TO20>" { SCRIPT { i=_arg1 SendKeys "{Ctrl+u}"+i+"{Esc}xisearch-nth-cache{Enter}" SendKeys "{Ctrl+s}{Ctrl+s}" } } COMMAND "Find Tag Other Frame" { KEYS { {Ctrl+x}5. } } COMMAND "Go To Line" { SCRIPT { SendKeys "{Esc}xgoto-line{Enter}" } } COMMAND "Helix Home" { SCRIPT { HeardWord "Find","File" HeardWord "Kill","Line" SendKeys "/jepstein@helix.nih.gov:/u5/jepstein/dircache/short{Enter}" } } COMMAND "Help Bindings" { KEYS { {Ctrl+h}b } } COMMAND "Help Me" { KEYS { {Ctrl+h} } } COMMAND "Image Home" { SCRIPT { HeardWord "Find File" HeardWord "Kill Line" SendKeys "/epstein@www-im.nichd.nih.gov:/usr/people/epstein/dircache/short{Enter}" } } COMMAND "Indent Region" { KEYS { {Esc}{Ctrl+} } } COMMAND "Insert File" { KEYS { {Ctrl+x}i } } COMMAND "Jump to Code Block" { KEYS { {Ctrl+x}rjy } } COMMAND "Jump to Mark" { KEYS { {Ctrl+u}{Ctrl+Space} } } COMMAND "Just One Space" { KEYS { {Ctrl+t}Escape{Ctrl+t}{Ctrl+t}space{Ctrl+t} } } COMMAND "Kill <1TO20> Characters" { SCRIPT { i=_arg1 SendKeys "{Ctrl+u}"+i+"{Ctrl+d}" } } COMMAND "Kill <1TO20> Lines" { SCRIPT { i=_arg1 SendKeys "{Ctrl+u}"+i+"{Ctrl+k}" } } COMMAND "Kill Buffer" { KEYS { {Ctrl+x}k } } COMMAND "Kill Comment" { KEYS { {Esc}x: } } COMMAND "Kill Line" { KEYS { {Ctrl+k} } } COMMAND "Kill Region" { KEYS { {Ctrl+w} } } COMMAND "Kill Word" { KEYS { {Esc}d } } COMMAND "Mark Whole Buffer" { KEYS { {Ctrl+x}h } } COMMAND "Minimize" { SCRIPT { SendKeys "{Alt}" Wait 200 SendKeys " n" } } COMMAND "Move Window <1TO20>" { SCRIPT { SendKeys "{Alt}" Wait 200 SendKeys " m" SendKeys "{Shift+" + _arg1 +" " + _arg2 + "}{Enter}" } } COMMAND "Narrow to Region" { KEYS { {Esc}xnarrow-to-region{Enter} } } COMMAND "New Frame" { SCRIPT { SendKeys "{Ctrl+x}52" Wait 500 MsgBoxConfirm "Perform special frame positioning?", 4,"emacs confirmation" 'Wait 1000 SendKeys "{Alt}" Wait 200 SendKeys " m" 'Wait 500 SendKeys "{Shift+Right 40}{Shift+Down 4}{Enter}" } } COMMAND "Not Modified" { SCRIPT { MsgBoxConfirm "Really mark buffer as unmodified?",4, "emacs confirmation" SendKeys "{Esc}~" } } COMMAND "Old Move Window" { SCRIPT { SendKeys "{Alt}" Wait 200 SendKeys " m" } } COMMAND "Other Window" { KEYS { {Ctrl+x}o } } COMMAND "Paste" { KEYS { {ctrl+y} } } COMMAND "Print Buffer" { SCRIPT { MsgBoxConfirm "Really print this buffer?", 4,"emacs confirmation" SendKeys "{Esc}xprint-buffer{Enter}" } } COMMAND "Query Replace" { KEYS { {Esc}% } } COMMAND "Query Replace Regular" { KEYS { {Esc}xquery-replace-regexp{Enter} } } COMMAND "Recent <1TO20>" { SCRIPT { i=_arg1 SendKeys "{Ctrl+u}"+i+"{Esc}xinsert-nth-cache{Enter}" } } COMMAND "Replace String" { KEYS { {Esc}xreplace-string{Enter} } } COMMAND "Restart Voice Grip" { KEYS { {Esc}xvg-restart{Enter} } } COMMAND "Rubout" { KEYS { {Ctrl+d} } } COMMAND "Save Buffer" { KEYS { {Ctrl+x}{Ctrl+s} } } COMMAND "Save Buffers Kill Emacs" { KEYS { {Ctrl+x}{Ctrl+c} } } COMMAND "Say Yes" { KEYS "yes" } COMMAND "Search" { KEYS { {Ctrl+s} } } COMMAND "Search Back" { KEYS { {Ctrl+r} } } COMMAND "Search Regular" { KEYS { {Esc}x{Ctrl+s} } } COMMAND "Select" { KEYS { {Enter} } } COMMAND "Set Mark" { KEYS { {Ctrl+Space} } } COMMAND "Shell Command" { KEYS { {Ctrl+Space} } } COMMAND "Solaris Home" { SCRIPT { HeardWord "Find File" HeardWord "Kill Line" SendKeys "/epstein@ncbi.nlm.nih.gov:{Enter}" } } COMMAND "Sort" { KEYS "sort " } COMMAND "Start Transaction" { KEYS { {Esc}xundo-group-boundary{Enter} } } COMMAND "Strip New Lines" { SCRIPT { HeardWord "Beginning","of","Buffer" HeardWord "Replace", "string" SendKeys "{Ctrl+q}{Ctrl+m}{Enter}{Enter}" } } COMMAND "Translate Source Code" { SCRIPT { SendKeys "{Esc}xvg-translate-region" MsgBoxConfirm "Translate only the current line?",4,"Voice grip confirmation" SendKeys "{Left}{Left}{Left}{Left}{Left}{Left}line{Enter}" } } COMMAND "Translate and Hop" { KEYS { {Ctrl+Space}{Ctrl+x}rjz{Esc}xvg-translate-region{Ent er}{Ctrl+x}rjy } } COMMAND "Undo Edit" { KEYS { {Ctrl+_} } } COMMAND "Undo Transaction" { KEYS { {Esc}xundo-group{Enter} } } COMMAND "Upcase Word" { KEYS { {Esc}u } } COMMAND "Use Menus" { SCRIPT { SendKeys "{Alt}" Wait 200 SendKeys "{ExtDown}" } } COMMAND "Visit Tags Table" { KEYS { {Esc}xvisit-tags-table } } COMMAND "Widen" { KEYS { {Esc}xwiden{Enter} } } COMMAND "Yank It Back" { KEYS { {Ctrl+y} } } COMMAND "Yank Pop" { KEYS { {Esc}xy } } COMMAND "Zap to Character" { KEYS { {Esc}xz } } COMMAND "Zebra Home" { SCRIPT { HeardWord "Find","File" HeardWord "Kill","Line" SendKeys "/epstein@mgchd1.nichd.nih.gov:/disk3/people/epstein/dircache/short{Enter}" } } COMMAND "open global dot D.V.C." { SCRIPT { HeardWord "Find","File" HeardWord "Kill","Line" SendKeys "C:NatSpeakUsersJonathancurrentglobal.dvc{Enter}" } } LIST "1TO20" { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" } LIST "Direction" { "Left" "Right" "Up" "Down" } } } MENU "NETSCAPE" { STATE "Netscape" { COMMAND "Add bookmark" { KEYS { {Ctrl+b} } } COMMAND "Back" { KEYS { {Alt+Left} } } COMMAND "Copy address" { SCRIPT { 'SetMousePosition 1,260,105 SetMousePosition 1,260,80 ButtonClick 1,2 SendKeys "{Ctrl+c}" } } COMMAND "Find" { KEYS { {Ctrl+f} } } COMMAND "Forward" { KEYS { {Alt+Right} } } COMMAND "Go to " { SCRIPT { IF _arg1 = "Altavista" THEN SendKeys "{Ctrl+o}www.altavista.com{Enter}" IF _arg1 = "Anand Technical" THEN SendKeys "{Ctrl+o}http://www.anandtech.com/{Enter}" IF _arg1 = "Dragon Forum" THEN SendKeys "{Ctrl+o}http://dragon-support.dragonsys.com/support/discforum.nsf{Enter}" IF _arg1 = "Dragon Systems" THEN SendKeys "{Ctrl+o}www.dragonsys.com{Enter}" IF _arg1 = "Dragon" THEN SendKeys "{Ctrl+o}www.dragonsys.com{Enter}" IF _arg1 = "Emacs F.A.Q." THEN SendKeys "{Ctrl+o}http://www.gnu.org/software/emacs/windows/ntemacs.html{Enter}" IF _arg1 = "Giant Visa" THEN SendKeys "{Ctrl+o}https://cardmemberservices.firstusa.com{Enter}" IF _arg1 = "Grump Micro" THEN SendKeys "{Ctrl+o}http://www.grumpmicro.com/{Enter}" IF _arg1 = "Helix Home" THEN SendKeys "{Ctrl+o}ftp://jepstein@Helix.nih.gov/u5/jepstein{Enter}" IF _arg1 = "Movie Database" THEN SendKeys "{Ctrl+o}www.us.imdb.com{Enter}" IF _arg1 = "N.C.B.I." THEN SendKeys "{Ctrl+o}www.ncbi.nlm.nih.gov{Enter}" IF _arg1 = "Netscape" THEN SendKeys "{Ctrl+o}www.netscape.com{Enter}" IF _arg1 = "Northern Light" THEN SendKeys "{Ctrl+o}www.northernlight.com{Enter}" IF _arg1 = "Personal Mail" THEN SendKeys "{Ctrl+o}http://f1.mail.yahoo.com/py/nfTop.py?y=1{Enter}" IF _arg1 = "Price Watch" THEN SendKeys "{Ctrl+o}http://www.pricewatch.com/{Enter}" IF _arg1 = "The Math Works" THEN SendKeys "{Ctrl+o}http://www.mathworks.com/{Enter}" IF _arg1 = "Tom's Hardware" THEN SendKeys "{Ctrl+o}http://www.Tomshardware.com/{Enter}" IF _arg1 = "Virtual Library" THEN SendKeys "{Ctrl+o}www.w3.org/hypertext/DataSources/bySubject/Overview.html{Enter}" IF _arg1 = "Voice Grip" THEN SendKeys "{Ctrl+o}http://ai.iit.nrc.ca/II_public/VoiceCode/techDoc.html{Enter}" IF _arg1 = "Web keyboard" THEN SendKeys "{Ctrl+o}http://adyn.com/web_key/summary.html{Enter}" IF _arg1 = "Yahoo" THEN SendKeys "{Ctrl+o}www.yahoo.com{Enter}" } } COMMAND "Go to Dragon Forum" { KEYS { {Ctrl+o}http://dragon-support.dragonsys.com/support/ discforum.nsf{Enter} } } COMMAND "Go to Dragon Systems" { KEYS { {Ctrl+o}www.dragonsys.com{Enter} } } COMMAND "Go to Grump Micro" { KEYS { {Ctrl+o}http://www.grumpmicro.com/{Enter} } } COMMAND "Go to Helix Home" { KEYS { {Ctrl+o}ftp://jepstein@Helix.nih.gov/u5/jepstein{Ent er} } } COMMAND "Go to Movie Database" { KEYS { {Ctrl+o}www.us.imdb.com{Enter} } } COMMAND "Go to Northern Light" { KEYS { {Ctrl+o}www.northernlight.com{Enter} } } COMMAND "Go to Price Watch" { KEYS { {Ctrl+o}http://www.pricewatch.com/{Enter} } } COMMAND "Go to Tom's Hardware" { KEYS { {Ctrl+o}http://www.Tomshardware.com/{Enter} } } COMMAND "Go to Virtual Library" { KEYS { {Ctrl+o}www.w3.org/hypertext/DataSources/bySubject/O verview.html{Enter} } } COMMAND "Go to Voice Grip" { KEYS { {Ctrl+o}http://ai.iit.nrc.ca/II_public/VoiceCode/tec hDoc.html{Enter} } } COMMAND "Go to Web Keyboard" { KEYS { {Ctrl+o}http://adyn.com/web_key/summary.html{Enter} } } COMMAND "Go to emacs F.A.Q." { KEYS { {Ctrl+o}http://www.gnu.org/software/emacs/windows/nt emacs.html{Enter} } } COMMAND "Go to the Math Works" { KEYS { {Ctrl+o}http://www.mathworks.com/{Enter} } } COMMAND "History" { KEYS { {Ctrl+h} } } COMMAND "Home" { KEYS { {Alt+g}h } } COMMAND "New Window <1To1000>" { SCRIPT { 'i=_arg1 'SendKeys "{Ctrl+e}"+i+"n" 'SendKeys _arg1+"{Enter}" SendKeys "{Ctrl+e}" power& = 10000 i& =_arg1 printing& = 0 DO power& = power&/10 digit& = i&/power& i& = i&-(digit&*power&) ' MsgBoxConfirm "power,digit,i =" + CStr(power&) + "," + CStr(digit&) + "," + CStr(i&),64,"Calculation" IF (digit& + printing&) > 0 THEN printing& = 1 SendKeys CStr(digit&) Wait 100 END IF LOOP WHILE (power& > 1) SendKeys "n" } } COMMAND "Open" { KEYS { {Ctrl+o} } } COMMAND "Print" { KEYS { {Alt+f}p } } COMMAND "Reload" { KEYS { {Ctrl+r} } } COMMAND "Show Bookmarks" { KEYS { {Ctrl+b} } } COMMAND "Stop" { KEYS { {Esc} } } COMMAND "Tab Down <1To100>" { SCRIPT { i=_arg1 DO WHILE (i > 0) SendKeys "{Tab}" i=i-1 LOOP } } COMMAND "Tab Up <1To100>" { SCRIPT { i=_1_to_99_1 DO WHILE (i > 0) SendKeys "{Alt+Tab}" i=i-1 LOOP } } COMMAND "Topic <1To1000>" { SCRIPT { 'SendKeys _arg1+"{Enter}" SendKeys "{Ctrl+e}" power& = 10000 i& =_arg1 printing& = 0 DO power& = power&/10 digit& = i&/power& i& = i&-(digit&*power&) ' MsgBoxConfirm "power,digit,i =" + CStr(power&) + "," + CStr(digit&) + "," + CStr(i&),64,"Calculation" IF (digit& + printing&) > 0 THEN printing& = 1 SendKeys CStr(digit&) Wait 100 END IF LOOP WHILE (power& > 1) SendKeys "{Enter}" } } COMMAND "capture <1To1000>" { SCRIPT { 'i=_arg1 'SendKeys "{Ctrl+e}"+i+"c" 'SendKeys _arg1+"{Enter}" SendKeys "{Ctrl+e}" power& = 10000 i& =_arg1 printing& = 0 DO power& = power&/10 digit& = i&/power& i& = i&-(digit&*power&) ' MsgBoxConfirm "power,digit,i =" + CStr(power&) + "," + CStr(digit&) + "," + CStr(i&),64,"Calculation" IF (digit& + printing&) > 0 THEN printing& = 1 SendKeys CStr(digit&) Wait 100 END IF LOOP WHILE (power& > 1) SendKeys "c" } } COMMAND "capture newsgroup name" { SCRIPT { HeardWord "Click","Message" HeardWord "New","Message" SendKeys "{Shift+Tab}{Shift+Tab}{Shift+Tab}{Shift+ExtEnd}{Ctrl+c}{Alt+F4}" } } COMMAND "catch up" { KEYS "C" } COMMAND "current science" { KEYS { {Ctrl+o}http://www.sciencemag.org/content/current/#b rowse{Enter} } } COMMAND "deja news" { KEYS { {Ctrl+o}www.dejanews.Com/info/toplevel.shtml{Enter} } } COMMAND "exit Netscape" { KEYS { {Ctrl+q} } } COMMAND "file bookmark" { KEYS { {Alt+c}bf{ExtDown}{ExtRight}{ExtDown} } } COMMAND "find again" { KEYS { {Ctrl+g} } } COMMAND "forward message to myself" { SCRIPT { HeardWord "Click", "Message" HeardWord "Forward" SendKeys "Jonathan_Epstein@nih.gov{Enter}" SendKeys "{Ctrl+e}" } } COMMAND "listen to K.U.T." { SCRIPT { SendKeys "{Ctrl+o}http://www.utexas.edu/kut/kutradio.ram{Enter}" } } COMMAND "look outside" { KEYS { {Ctrl+o}http://www.dpwt.com/jpgcap/57.html{Enter} } } COMMAND "more top news" { KEYS { {Ctrl+o}http://www.washingtonpost.com/wp-srv/digest/ digest.htm{Enter} } } COMMAND "new web browser" { KEYS { {Ctrl+n} } } COMMAND "next frame" { KEYS { {Ctrl+j} } } COMMAND "out loud dot com" { KEYS { {Ctrl+o}out-loud.Com/{Enter} } } COMMAND "previous frame" { KEYS { {Ctrl+l} } } COMMAND "Go To New York Times" { KEYS { {Ctrl+o}www.nytimes.com{Enter} } } COMMAND "Go to MIT Home" { KEYS { {Ctrl+o}web.mit.edu{Enter} } } COMMAND "Go to My Home" { KEYS { {Ctrl+o}web.mit.edu/athey/www{Enter} } } COMMAND "Go to Hotmail" { KEYS { {Ctrl+o}http://www.hotmail.com{Enter} } } COMMAND "Go To Naturally Speaking Vocabulary" { KEYS { {Ctrl+o}file:///C|/NatSpeak/Users/Susan_Ne/MacroView Html/vocabulary.html{Enter} } } COMMAND "view source" { KEYS { {Ctrl+u} } } COMMAND "Go To Washington Post" { KEYS { {Ctrl+o}www.Washingtonpost.COM{Enter} } } COMMAND "Go To Weather Report" { KEYS { {Ctrl+o}http://www.weather.com/weather/cities/us_dc_ washington.html{Enter} } } COMMAND "Go To Headline News" { KEYS { {Ctrl+o}www.yahoo.Com/headlines/news{Enter} } } COMMAND "Go To Science News" { KEYS { {Ctrl+o}http://sciencenow.sciencemag.org/{Enter} } } COMMAND "Quick Open and Paste" { KEYS { {Ctrl+o}{Ctrl+v}{Enter} } } COMMAND "Edit page" { KEYS { {Alt+f}e } } COMMAND "Insert link" { KEYS { {Ctrl+Shift+l} } } COMMAND "Save" { KEYS { {Alt+f}s } } LIST "1To1000" { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23" "24" "25" "26" "27" "28" "29" "30" "31" "32" "33" "34" "35" "36" "37" "38" "39" "40" "41" "42" "43" "44" "45" "46" "47" "48" "49" "50" "51" "52" "53" "54" "55" "56" "57" "58" "59" "60" "61" "62" "63" "64" "65" "66" "67" "68" "69" "70" "71" "72" "73" "74" "75" "76" "77" "78" "79" "80" "81" "82" "83" "84" "85" "86" "87" "88" "89" "90" "91" "92" "93" "94" "95" "96" "97" "98" "99" "100" "101" "102" "103" "104" "105" "106" "107" "108" "109" "110" "111" "112" "113" "114" "115" "116" "117" "118" "119" "120" "121" "122" "123" "124" "125" "126" "127" "128" "129" "130" "131" "132" "133" "134" "135" "136" "137" "138" "139" "140" "141" "142" "143" "144" "145" "146" "147" "148" "149" "150" "151" "152" "153" "154" "155" "156" "157" "158" "159" "160" "161" "162" "163" "164" "165" "166" "167" "168" "169" "170" "171" "172" "173" "174" "175" "176" "177" "178" "179" "180" "181" "182" "183" "184" "185" "186" "187" "188" "189" "190" "191" "192" "193" "194" "195" "196" "197" "198" "199" "200" "201" "202" "203" "204" "205" "206" "207" "208" "209" "210" "211" "212" "213" "214" "215" "216" "217" "218" "219" "220" "221" "222" "223" "224" "225" "226" "227" "228" "229" "230" "231" "232" "233" "234" "235" "236" "237" "238" "239" "240" "241" "242" "243" "244" "245" "246" "247" "248" "249" "250" "251" "252" "253" "254" "255" "256" "257" "258" "259" "260" "261" "262" "263" "264" "265" "266" "267" "268" "269" "270" "271" "272" "273" "274" "275" "276" "277" "278" "279" "280" "281" "282" "283" "284" "285" "286" "287" "288" "289" "290" "291" "292" "293" "294" "295" "296" "297" "298" "299" "300" "301" "302" "303" "304" "305" "306" "307" "308" "309" "310" "311" "312" "313" "314" "315" "316" "317" "318" "319" "320" "321" "322" "323" "324" "325" "326" "327" "328" "329" "330" "331" "332" "333" "334" "335" "336" "337" "338" "339" "340" "341" "342" "343" "344" "345" "346" "347" "348" "349" "350" "351" "352" "353" "354" "355" "356" "357" "358" "359" "360" "361" "362" "363" "364" "365" "366" "367" "368" "369" "370" "371" "372" "373" "374" "375" "376" "377" "378" "379" "380" "381" "382" "383" "384" "385" "386" "387" "388" "389" "390" "391" "392" "393" "394" "395" "396" "397" "398" "399" "400" "401" "402" "403" "404" "405" "406" "407" "408" "409" "410" "411" "412" "413" "414" "415" "416" "417" "418" "419" "420" "421" "422" "423" "424" "425" "426" "427" "428" "429" "430" "431" "432" "433" "434" "435" "436" "437" "438" "439" "440" "441" "442" "443" "444" "445" "446" "447" "448" "449" "450" "451" "452" "453" "454" "455" "456" "457" "458" "459" "460" "461" "462" "463" "464" "465" "466" "467" "468" "469" "470" "471" "472" "473" "474" "475" "476" "477" "478" "479" "480" "481" "482" "483" "484" "485" "486" "487" "488" "489" "490" "491" "492" "493" "494" "495" "496" "497" "498" "499" "500" "501" "502" "503" "504" "505" "506" "507" "508" "509" "510" "511" "512" "513" "514" "515" "516" "517" "518" "519" "520" "521" "522" "523" "524" "525" "526" "527" "528" "529" "530" "531" "532" "533" "534" "535" "536" "537" "538" "539" "540" "541" "542" "543" "544" "545" "546" "547" "548" "549" "550" "551" "552" "553" "554" "555" "556" "557" "558" "559" "560" "561" "562" "563" "564" "565" "566" "567" "568" "569" "570" "571" "572" "573" "574" "575" "576" "577" "578" "579" "580" "581" "582" "583" "584" "585" "586" "587" "588" "589" "590" "591" "592" "593" "594" "595" "596" "597" "598" "599" "600" "601" "602" "603" "604" "605" "606" "607" "608" "609" "610" "611" "612" "613" "614" "615" "616" "617" "618" "619" "620" "621" "622" "623" "624" "625" "626" "627" "628" "629" "630" "631" "632" "633" "634" "635" "636" "637" "638" "639" "640" "641" "642" "643" "644" "645" "646" "647" "648" "649" "650" "651" "652" "653" "654" "655" "656" "657" "658" "659" "660" "661" "662" "663" "664" "665" "666" "667" "668" "669" "670" "671" "672" "673" "674" "675" "676" "677" "678" "679" "680" "681" "682" "683" "684" "685" "686" "687" "688" "689" "690" "691" "692" "693" "694" "695" "696" "697" "698" "699" "700" "701" "702" "703" "704" "705" "706" "707" "708" "709" "710" "711" "712" "713" "714" "715" "716" "717" "718" "719" "720" "721" "722" "723" "724" "725" "726" "727" "728" "729" "730" "731" "732" "733" "734" "735" "736" "737" "738" "739" "740" "741" "742" "743" "744" "745" "746" "747" "748" "749" "750" "751" "752" "753" "754" "755" "756" "757" "758" "759" "760" "761" "762" "763" "764" "765" "766" "767" "768" "769" "770" "771" "772" "773" "774" "775" "776" "777" "778" "779" "780" "781" "782" "783" "784" "785" "786" "787" "788" "789" "790" "791" "792" "793" "794" "795" "796" "797" "798" "799" "800" "801" "802" "803" "804" "805" "806" "807" "808" "809" "810" "811" "812" "813" "814" "815" "816" "817" "818" "819" "820" "821" "822" "823" "824" "825" "826" "827" "828" "829" "830" "831" "832" "833" "834" "835" "836" "837" "838" "839" "840" "841" "842" "843" "844" "845" "846" "847" "848" "849" "850" "851" "852" "853" "854" "855" "856" "857" "858" "859" "860" "861" "862" "863" "864" "865" "866" "867" "868" "869" "870" "871" "872" "873" "874" "875" "876" "877" "878" "879" "880" "881" "882" "883" "884" "885" "886" "887" "888" "889" "890" "891" "892" "893" "894" "895" "896" "897" "898" "899" "900" "901" "902" "903" "904" "905" "906" "907" "908" "909" "910" "911" "912" "913" "914" "915" "916" "917" "918" "919" "920" "921" "922" "923" "924" "925" "926" "927" "928" "929" "930" "931" "932" "933" "934" "935" "936" "937" "938" "939" "940" "941" "942" "943" "944" "945" "946" "947" "948" "949" "950" "951" "952" "953" "954" "955" "956" "957" "958" "959" "960" "961" "962" "963" "964" "965" "966" "967" "968" "969" "970" "971" "972" "973" "974" "975" "976" "977" "978" "979" "980" "981" "982" "983" "984" "985" "986" "987" "988" "989" "990" "991" "992" "993" "994" "995" "996" "997" "998" "999" "1000" } LIST "websites" { "Altavista" "Anand Technical" "Dragon Forum" "Dragon Systems" "Dragon" "Emacs F.A.Q." "Giant Visa" "Grump Micro" "Helix Home" "Movie Database" "N.C.B.I." "Netscape" "Northern Light" "Personal Mail" "Price Watch" "The Math Works" "Tom's Hardware" "Virtual Library" "Voice Grip" "Web Keyboard" "Yahoo" } } } MENU "MATHTYPE" { STATE "MathType" { COMMAND "Close Window" { KEYS { {Ctrl+F4} } } COMMAND "Format Align Left" { KEYS { {Ctrl+Shift+l} } } COMMAND "Format Align Center" { KEYS { {Ctrl+Shift+j} } } COMMAND "Format Align Right" { KEYS { {Ctrl+Shift+r} } } COMMAND "Format Math" { KEYS { {Ctrl+Shift+=} } } COMMAND "Format Text" { KEYS { {Ctrl+Shift+e} } } COMMAND "Format Variable" { KEYS { {Ctrl+Shift+v} } } COMMAND "Format Greek" { KEYS { {Ctrl+Shift+g} } } COMMAND "Format Vector" { KEYS { {Ctrl+Shift+b} } } COMMAND "Format User 1" { KEYS { {Ctrl+Shift+u} } } COMMAND "Format User 2" { KEYS { {Ctrl+Alt+Shift+u} } } COMMAND "Format Smaller" { KEYS { {Ctrl+<} } } COMMAND "Format Larger" { KEYS { {Ctrl+>} } } COMMAND "Begin Slot" { KEYS { {Home} } } COMMAND "End Slot" { KEYS { {End} } } COMMAND "Next Slot" { KEYS { {Tab} } } COMMAND "Previous Slot" { KEYS { {Shift+Tab} } } COMMAND "Select Slot" { KEYS { {Ctrl+Shift+s} } } COMMAND "Skip Left" { KEYS { {Ctrl+Shift+LeftArrow} } } COMMAND "Skip Right" { KEYS { {Ctrl+Shift+RightArrow} } } COMMAND "Greek " { SCRIPT { SendKeys "{Ctrl+g}"+_arg1 } } COMMAND "Greek Letter " { SCRIPT { SendKeys "{Ctrl+g}"+_arg1 } } COMMAND "Greek Letter " { SCRIPT { SendKeys "{Ctrl+g}"+_arg1 } } COMMAND "Bold Greek Letter " { SCRIPT { SendKeys "{Ctrl+Alt+u}"+_arg1 } } COMMAND "Bold Greek Letter " { SCRIPT { SendKeys "{Ctrl+Alt+u}"+_arg1 } } COMMAND "Vector Letter " { SCRIPT { SendKeys "{Ctrl+b}"+_arg1 } } COMMAND "Vector Letter " { SCRIPT { SendKeys "{Ctrl+b}"+_arg1 } } COMMAND "Decorate Hat" { KEYS { {Ctrl+6}6 } } COMMAND "Decorate Dot" { KEYS { {Ctrl+Alt+.} } } COMMAND "Decorate Upper Bar" { KEYS { {Ctrl+_} } } COMMAND "Decorate Arrow" { KEYS { {Ctrl+Alt+-} } } COMMAND "Symbol Element Of" { KEYS { {Ctrl+K}e } } COMMAND "Symbol Radical" { KEYS { {Ctrl+r} } } COMMAND "Symbol Partial" { KEYS { {Ctrl+k}d } } COMMAND "Symbol For All" { KEYS { {Ctrl+Shift+k}a } } COMMAND "Symbol Super Set" { KEYS { {Ctrl+k}s } } COMMAND "Symbol Sub Set" { KEYS { {Ctrl+k}c } } COMMAND "Insert Parentheses Pair" { KEYS { {Ctrl+9} } } COMMAND "Insert Braces Pair" { KEYS { {Ctrl+{} } } COMMAND "Insert Bracket Pair" { KEYS { {Ctrl+[} } } COMMAND "Symbol Define Equal" { KEYS { {Ctrl+k}= } } COMMAND "Symbol Not Equal" { KEYS { {Ctrl+k}+ } } COMMAND "Symbol Summation" { KEYS { {Ctrl+t}{Shift+s} } } COMMAND "Symbol Summation Limits" { KEYS { {Ctrl+t}s } } COMMAND "Symbol Summation Lower Limit" { KEYS { {Ctrl+t}{Alt+s} } } COMMAND "Superscript" { KEYS { {Ctrl+h} } } COMMAND "Subscript" { KEYS { {Ctrl+l} } } COMMAND "Symbol Dot" { KEYS { {Ctrl+Shift+k}. } } COMMAND "Symbol Arrow Down" { KEYS { {Ctrl+k}{Down} } } COMMAND "Symbol Arrow Up" { KEYS { {Ctrl+k}{Up} } } COMMAND "Symbol Arrow Right" { KEYS { {Ctrl+k}{Right} } } COMMAND "Symbol Arrow Left" { KEYS { {Ctrl+k}{Left} } } COMMAND "Symbol Double Arrow Down" { KEYS { {Ctrl+k}{Shift+Down} } } COMMAND "Symbol Double Arrow Up" { KEYS { {Ctrl+k}{Shift+Up} } } COMMAND "Symbol Double Arrow Right" { KEYS { {Ctrl+k}{Shift+Right} } } COMMAND "Symbol Double Arrow Left" { KEYS { {Ctrl+k}{Shift+Left} } } COMMAND "Symbol Equal Tilde" { KEYS { {Ctrl+k}~ } } COMMAND "Symbol Divide" { KEYS { {Ctrl+Shift+k}/ } } COMMAND "Symbol Multiply" { KEYS { {Ctrl+k}t } } COMMAND "Symbol Meet" { KEYS { {Ctrl+Shift+k}7 } } COMMAND "Symbol Not" { KEYS { {Ctrl+Shift+k}n } } COMMAND "Symbol Less Equal" { KEYS { {Ctrl+k}, } } COMMAND "Symbol Greater Equal" { KEYS { {Ctrl+k}. } } COMMAND "Symbol There Exists" { KEYS { {Ctrl+Shift+k}e } } COMMAND "Symbol Plus or Minus" { KEYS { {Ctrl+Shift+k}= } } COMMAND "Symbol Infinity" { KEYS { {Ctrl+k}i } } COMMAND "Symbol Intersection" { KEYS { {Ctrl+k}x } } COMMAND "Symbol Union" { KEYS { {Ctrl+k}u } } COMMAND "Insert Space" { KEYS { {Ctrl+Alt+Space} } } COMMAND "Symbol Integral" { KEYS { {Ctrl+Shift+i}! } } COMMAND "Insert Fraction" { KEYS { {Ctrl+f} } } COMMAND "Symbol Real Numbers" { KEYS { {Ctrl+d}{Shift+r} } } COMMAND "Decorate Smile" { KEYS { {Ctrl+6}0 } } COMMAND "Decorate Tilde" { KEYS { {Ctrl+`} } } COMMAND "Delete Right" { KEYS { {Delete-key} } } COMMAND "Symbol Join" { KEYS { {Ctrl+Shift+k}\\ } } COMMAND "Symbol Not Element Of" { KEYS { {Ctrl+k}{Shift+e} } } LIST "Alphabet" { "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s" "t" "u" "v" "w" "x" "y" "z" } LIST "ICAlphabet" { "a\\alpha" "b\\bravo" "c\\charlie" "d\\delta" "e\\echo" "f\\foxtrot" "g\\golf" "h\\hotel" "i\\india" "j\\juliett" "k\\kilo" "l\\lima" "m\\mike" "n\\november" "o\\oscar" "p\\papa" "q\\quebec" "r\\romeo" "s\\sierra" "t\\tango" "u\\uniform" "v\\victor" "w\\whiskey" "x\\xray" "y\\yankee" "z\\zulu" } } } MENU "SECURECRT" { STATE "SecureCRT" { COMMAND "Copy That" { KEYS { {Ctrl+Ins} } } COMMAND "Paste That" { KEYS { {Shift+Ins} } } } } MENU "EXPLORER" { STATE "Exploring" { COMMAND "Rename" { KEYS { {Alt+f}m } } } }