🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.games.strategic
Article #716268

Re: Supreme Commander 2 voice-activated scripts

#716268
From: John Doe
Date: Thu, 31 Mar 2011 07:28
1821 lines
51183 bytes
Sometimes there are problems with fast automated input, sometimes 
the game does not see it well as manual input. 

  "ant[<n>]":#basic, anti-air tower
    Mimic("release")+
    Key("a-dot")+
    (
      Key("b")+
      Key("1")+
      Key("t")+
      Key("b")+
      Key("shift:down")+
      Mouse("left:2")
    )
    *Repeat(extra="n")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),

That script grabs an idle worker and instantly lays down from one 
to nine (depending on the number you say after "ant") antiaircraft 
towers, around the current pointer location. For some strange 
reason, an extra click is required. A double-click is used instead 
of a single click in that example. 

The scripts run much faster than before, most of the timing was
removed. I am having some luck figuring out how to work around the
input problems (as shown above) without using Pause(). Voice
automated scripting (and wrist braces) makes RTS a strategy gaming
paradise for this scripter/gamer. 

This is my current set of scripts for Supreme Commander 2, 
in Python programming format. 


  #"beep" timing and/or repeat
  #"whiht1" the pointer has been moved
  #"dungk1" shift is held down
  #"boop" no keys are held
  #"all under pointer" double click selected units on screen
  #
  #
  #
  "test[<n>]":
    Mimic("pattern")+
    Mouse("[1773,195]/5,left/20")+
    Key("a-dot/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  #a macros
  "airport":#all under pointer or nearest air factory
    Mouse("left:2/5")+
    Key("c-7/5")+
    Key("cs-a/5")+
    Key("7/5"),
  "barrack":#nearest land factory or all under pointer
    Mouse("left:2")+
    Key("c-7")+
    Key("cs-l")+
    Key("7"),
  "factory":#nearest factory or all under pointer
    Mouse("left:2")+
    Key("c-7")+
    Key("h")+
    Key("7"),
  "release":#free pointer
    Key("shift:up")+
    Key("escape:2"),
  "shuffle":#switches to idle worker, if any
    Key("a-dot")+
    Key("c-9")+
    Key("8")+
    Key("9")+
    Key("c-8")+
    Key("c-9")+
    Pause("90"),
  "worker":#select under pointer or nearest idle worker
    Mouse("left")+
    Key("c-7")+
    Key("a-dot")+
    Key("7"),
  ##a macros view
  "nearest":#view, nearest (plus w)
    Key("v/10")+
    Key("s-q:13/40")+
    Key("w/10"),
  "farthest":#view, farthest
    Key("v/10")+#correct angle
    Key("s-w:13/40"),
  "pattern":#main
    Key("v/10")+
    Key("s-q:13/40")+
    Key("s-w/10")+
    Mouse("[1774,207],left/20"),
  ##a macros view
  #a macros
  #build now
  "so ant":#basic, anti-air tower
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("1")+
    Key("t")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so gun":#basic, point defense
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("1")+
    Key("p")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so house":#basic, land factory
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("1")+
    Key("l")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so juice":#basic, electricity
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so long":#advanced, long-range artillery
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("2")+
    Key("l")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so mass":#basic, mass
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("1")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so nuke":#advanced, anti-nuke
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("2")+
    Key("d")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so port":#basic, air factory
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("1")+
    Key("a")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so raid":#advanced, radar
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("2")+
    Key("r")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so search":#basic, research station
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("1")+
    Key("r")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so shield":#advanced, shield
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("2")+
    Key("s")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so short":#advanced, short range artillery
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("2")+
    Key("f")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so tact":#advanced, TML
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("2")+
    Key("t")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "so vert":#advanced, mass converter
    Mimic("release")+
    Mouse("left")+
    Key("s")+
    Key("b")+
    Key("2")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  #build now
  #build pattern
  "alpha":#pattern, startup position
    Key("tab/15")+#research
    Mouse("[1064,365]/5,left/5")+#structure
    Mouse("[733,482]/5,left/5")+#build cost
    Mouse("[849,424]/5,left/5")+#build time
    Key("tab/15")+
    Mouse("[1797,23]/5,left/20")+#minimap
    Mouse("[960,597]/5,left/5")+#commander
    #keep
    Key("b")+
    Key("1")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    Mouse("[1483,940],left")+
    Mouse("[1358,458],left")+
    Mouse("[692,415],left")+
    Mouse("right")+
    Key("shift:up")+
    Mouse("[664,418],left")+#upper
    Key("c-1")+
    Mouse("[623,593],left")+#lower
    Key("c-2")+
    Key("b")+
    Key("1")+
    Key("m")+
    Key("b")+
    Mouse("[513,910],left")+
    Mimic("pattern")+
    Key("1")+#upper
    Key("b")+
    Key("1")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    Mouse("[627,317],left")+
    Mouse("[114,370],left")+
    Mouse("[403,968],left")+
    Mouse("right")+
    Key("shift:up")+
    Key("m")+
    Key("shift:down")+
    Mouse("[695,631],left")+
    Key("shift:up")+
    Key("b")+
    Key("1")+
    Key("r")+
    Key("b")+
    Key("shift:down")+
    Mouse("[668,561],left")+
    Mouse("[760,559],left")+
    Mouse("[755,633],left")+
    Mouse("[747,711],left")+
    Mouse("right")+
    Key("shift:up")+
    Key("m")+
    Key("shift:down")+
    Mouse("[608,430],left")+
    Key("shift:up")+
    Key("b")+
    Key("1")+
    Key("r")+
    Key("b")+
    Key("shift:down")+
    Mouse("[586,369],left")+
    Mouse("[670,372],left")+
    Mouse("[662,428],left")+
    Mouse("[653,491],left")+
    Mouse("right")+
    Key("shift:up")+
    Key("2")+#lower
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[724,479],left:down")+
    Mouse("[730,436],left:up")+
    Mouse("[778,479],left:down")+
    Mouse("[781,436],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("b")+
    Key("1")+
    Key("a")+
    Key("b")+
    Key("shift:down")+
    Mouse("[772,377],left")+
    Mouse("right")+
    Key("shift:up")+
    Mouse("[927,474],left")+#commander
    Key("b")+
    Key("1")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    Mouse("[1165,338],left")+
    Mouse("[928,141],left")+
    Mouse("right")+
    Key("shift:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "bravo":#electricity generators
    Mimic("release")+
    Mimic("pattern")+
    Key("a-dot")+
    Mouse("[547,1052]")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[630,1054],left:down")+
    Mouse("[547,1052],left:up")+
    Mouse("[637,991],left:down")+
    Mouse("[555,989],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Mouse("[960,600]")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[488,722],left:down")+
    Mouse("[557,720],left:up")+
    Mouse("[481,771],left:down")+
    Mouse("[551,770],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[432,497],left:down")+
    Mouse("[489,498],left:up")+
    Mouse("[419,540],left:down")+
    Mouse("[483,540],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[233,265],left:down")+
    Mouse("[213,301],left:up")+
    Mouse("[278,265],left:down")+
    Mouse("[263,303],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[512,346],left:down")+
    Mouse("[523,305],left:up")+
    Mouse("[464,345],left:down")+
    Mouse("[475,307],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[589,161],left:down")+
    Mouse("[539,161],left:up")+
    Mouse("[583,189],left:down")+
    Mouse("[534,187],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[1372,414],left:down")+
    Mouse("[1362,373],left:up")+
    Mouse("[1322,414],left:down")+
    Mouse("[1314,370],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[1317,666],left:down")+
    Mouse("[1380,664],left:up")+
    Mouse("[1304,622],left:down")+
    Mouse("[1373,621],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[1103,481],left:down")+
    Mouse("[1171,479],left:up")+
    Mouse("[1105,521],left:down")+
    Mouse("[1169,518],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[841,658],left:down")+
    Mouse("[844,606],left:up")+
    Mouse("[899,659],left:down")+
    Mouse("[899,608],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[1077,861],left:down")+
    Mouse("[1000,861],left:up")+
    Mouse("[1073,807],left:down")+
    Mouse("[1004,807],left:up")+
    Mouse("right")+
    Key("shift:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "charlie":#mass converters
    Mimic("release")+
    Mimic("pattern")+
    Mouse("[290,665]")+
    Key("a-dot")+
    Key("b")+
    Key("2")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    Mouse("[421,603],left:down")+
    Mouse("[333,601],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Mouse("[290,665]")+
    Key("a-dot")+
    Key("b")+
    Key("2")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    Mouse("[408,657],left:down")+
    Mouse("[305,654],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Mouse("[290,665]")+
    Key("a-dot")+
    Key("b")+
    Key("2")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    Mouse("[394,713],left:down")+
    Mouse("[291,712],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "delta":#fortified artillery defense
    Mimic("release")+
    Mimic("nearest")+
    Mouse("[1776,191],left/20")+
    Mouse("[990,500]")+
    Key("a-dot")+
    Key("m")+
    Mouse("[873,577],left")+
    Key("b")+
    Key("2")+
    Key("f")+
    Key("b")+
    Key("shift:down")+
    Mouse("[1096,432],left:down")+
    Mouse("[878,428],left:up")+
    Mouse("[1103,495],left:down")+
    Mouse("[876,496],left:up")+
    Mouse("[1111,578],left:down")+
    Mouse("[821,571],left:up")+
    Mouse("right")+
    Key("shift:up")+

    Mouse("[990,500]")+
    Key("a-dot")+
    Key("m")+
    Mouse("[1246,764],left")+
    Key("b")+
    Key("2")+
    Key("f")+
    Key("b")+
    Key("shift:down")+
    Mouse("[994,667],left:down")+
    Mouse("[1141,666],left:up")+
    Mouse("[1128,763],left:down")+
    Mouse("[1350,576],left:up")+
    Mouse("[1230,577],left:down")+
    Mouse("[1216,484],left:up")+
    Mouse("right")+
    Key("shift:up")+

    Mouse("[990,500]")+
    Key("a-dot")+
    Key("m")+
    Mouse("[784,308],left")+
    Key("b")+
    Key("2")+
    Key("f")+
    Key("b")+
    Key("shift:down")+
    Mouse("[780,364],left:down")+
    Mouse("[1008,377],left:up")+
    Mouse("[888,314],left:down")+
    Mouse("[631,436],left:up")+
    Mouse("[773,424],left:down")+
    Mouse("[762,512],left:up")+
    Mouse("right")+
    Key("shift:up")+

    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "echo":
    Mimic("release")+
    Mimic("pattern")+
    Mouse("[761,560]")+
    Key("a-dot")+
    Key("e")+
    Key("shift:down")+
    Mouse("[761,560],left")+
    Mouse("[755,634],left")+
    Mouse("[748,711],left")+
    Mouse("[668,558],left")+
    Mouse("right")+
    Key("shift:up")+
    Mouse("[651,491]")+
    Key("a-dot")+
    Key("e")+
    Key("shift:down")+
    Mouse("[651,491],left")+
    Mouse("[663,426],left")+
    Mouse("[672,367],left")+
    Mouse("[585,363],left")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "yankee":#main view
    Mimic("release")+
    Mimic("pattern")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "zulu":#rebuild base
    Mimic("release")+
    Mimic("pattern")+
    Mouse("[627,317]")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    Mouse("[627,317],left")+
    Mouse("[114,370],left")+
    Mouse("[403,968],left")+
    Mouse("right")+
    Key("shift:up")+
    Mouse("[857,531]")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    Mouse("[857,531],left")+
    Mouse("[1004,541],left")+
    Mouse("[870,431],left")+
    Mouse("[1010,443],left")+
    Mouse("[1165,338],left")+
    Mouse("[928,141],left")+
    Mouse("right")+
    Key("shift:up")+
    Key("b")+
    Key("1")+
    Key("a")+
    Key("b")+
    Key("shift:down")+
    Mouse("[772,377],left")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[724,479],left:down")+
    Mouse("[730,436],left:up")+
    Mouse("[778,479],left:down")+
    Mouse("[781,436],left:up")+
    Mouse("[841,658],left:down")+
    Mouse("[844,606],left:up")+
    Mouse("[899,659],left:down")+
    Mouse("[899,608],left:up")+
    Mouse("[1077,861],left:down")+
    Mouse("[1000,861],left:up")+
    Mouse("[1073,807],left:down")+
    Mouse("[1004,807],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[630,1054],left:down")+
    Mouse("[547,1052],left:up")+
    Mouse("[637,991],left:down")+
    Mouse("[555,989],left:up")+
    Mouse("[488,722],left:down")+
    Mouse("[557,720],left:up")+
    Mouse("[481,771],left:down")+
    Mouse("[551,770],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[432,497],left:down")+
    Mouse("[489,498],left:up")+
    Mouse("[419,540],left:down")+
    Mouse("[483,540],left:up")+
    Mouse("[233,265],left:down")+
    Mouse("[213,301],left:up")+
    Mouse("[278,265],left:down")+
    Mouse("[263,303],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+
    Mouse("[589,161],left:down")+
    Mouse("[539,161],left:up")+
    Mouse("[583,189],left:down")+
    Mouse("[534,187],left:up")+
    Mouse("[512,346],left:down")+
    Mouse("[523,305],left:up")+
    Mouse("[464,345],left:down")+
    Mouse("[475,307],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Key("shift:down")+    
    Mouse("[1372,414],left:down")+
    Mouse("[1362,373],left:up")+
    Mouse("[1322,414],left:down")+
    Mouse("[1314,370],left:up")+
    Mouse("[1317,666],left:down")+
    Mouse("[1380,664],left:up")+
    Mouse("[1304,622],left:down")+
    Mouse("[1373,621],left:up")+
    Mouse("[1103,481],left:down")+
    Mouse("[1171,479],left:up")+
    Mouse("[1105,521],left:down")+
    Mouse("[1169,518],left:up")+
    Mouse("right")+
    Key("shift:up")+
    Key("a-dot")+
    Key("m")+
    Key("shift:down")+
    Mouse("[695,631],left")+
    Key("shift:up")+
    Key("b")+
    Key("1")+
    Key("r")+
    Key("b")+
    Key("shift:down")+
    Mouse("[668,561],left")+
    Mouse("[760,559],left")+
    Mouse("[755,633],left")+
    Mouse("[747,711],left")+
    Mouse("right")+
    Key("shift:up")+
    Key("m")+
    Key("shift:down")+
    Mouse("[608,430],left")+
    Key("shift:up")+
    Key("b")+
    Key("1")+
    Key("r")+
    Key("b")+
    Key("shift:down")+
    Mouse("[586,369],left")+
    Mouse("[670,372],left")+
    Mouse("[662,428],left")+
    Mouse("[653,491],left")+
    Mouse("right")+
    Key("shift:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  #build pattern
  #build queue
  "ant[<n>]":#basic, anti-air tower
    Mimic("release")+
    Key("a-dot")+
    (
      Key("b")+
      Key("1")+
      Key("t")+
      Key("b")+
      Key("shift:down")+
      Mouse("left:2")
    )
    *Repeat(extra="n")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "gun[<n>]":#basic, point defense
    Mimic("release")+
    Key("a-dot")+
    (
      Key("b")+
      Key("1")+
      Key("p")+
      Key("b")+
      Key("shift:down")+
      Mouse("left:2")
    )
    *Repeat(extra="n")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "house":#basic, land factory
    Mimic("release")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("l")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "juice[<n>]":#basic, electricity
    Mimic("release")+
    Mouse("left:2")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("e")+
    Key("b")+
    Pause("20")+
    Key("shift:down")+
    Mouse("left:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    (
      Pause("100")
    )
    *Repeat(extra="n")+
    Mouse("left:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "juicer[<n>]":#basic, electricity
    (
      Mimic("release")+
      Mouse("left:2")+
      Key("a-dot")+
      Key("b")+
      Key("1")+
      Key("e")+
      Key("b")+
      Key("shift:down")+
      Mouse("left")+
      PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
      Pause("200")
    )
    *Repeat(extra="n")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "long[<n>]":#advanced, long-range artillery
    Mimic("release")+
    Mouse("left:2")+
    Key("a-dot")+
    Key("b")+
    Key("2")+
    Key("l")+
    Key("b")+
    Pause("20")+
    Key("shift:down")+
    Mouse("left:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    (
      Pause("100")
    )
    *Repeat(extra="n")+
    Mouse("left:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "longer[<n>]":#advanced, long-range artillery
    (
      Mimic("release")+
      Mouse("left:2")+
      Key("a-dot")+
      Key("b")+
      Key("2")+
      Key("l")+
      Key("b")+
      Key("shift:down")+
      Mouse("left")+
      PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
      Pause("200")
    )
    *Repeat(extra="n")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "mass":#basic, mass
    Mimic("release")+
    Mouse("left:2")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    Mouse("left")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "nuke":#advanced, anti-nuke
    Mimic("release")+
    Key("a-dot")+
    Key("b")+
    Key("2")+
    Key("d")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "port":#basic, air factory
    Mimic("release")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("a")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "raid":#advanced, radar
    Mimic("release")+
    Key("a-dot")+
    Key("b")+
    Key("2")+
    Key("r")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "search":#basic, research station
    Mimic("release")+
    Key("a-dot")+
    Key("b")+
    Key("1")+
    Key("r")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "shield":#advanced, shield
    Mimic("release")+
    Key("a-dot")+
    Key("b")+
    Key("2")+
    Key("s")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "short[<n>]":#advanced, short range artillery
    Mimic("release")+
    Mouse("left:2")+
    Key("a-dot")+
    Key("b")+
    Key("2")+
    Key("f")+
    Key("b")+
    Pause("20")+
    Key("shift:down")+
    Mouse("left:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    (
      Pause("100")
    )
    *Repeat(extra="n")+
    Mouse("left:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "shorter[<n>]":#advanced, short range artillery
    (
      Mimic("release")+
      Mouse("left:2")+
      Key("a-dot")+
      Key("b")+
      Key("2")+
      Key("f")+
      Key("b")+
      Key("shift:down")+
      Mouse("left")+
      PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
      Pause("200")
    )
    *Repeat(extra="n")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "vert":#advanced, mass converter
    Mimic("release")+
    Key("a-dot")+
    Key("b")+
    Key("2")+
    Key("m")+
    Key("b")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  #build queue
  #mouse stuff
  "G. 1":#timed, usually for placing buildings
    Mimic("release")+
    Mouse("left:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("100")+
    Mouse("left:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "G. 2":#timed, usually for placing buildings
    Mimic("release")+
    Mouse("left:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("200")+
    Mouse("left:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "G. 3":#timed, usually for placing buildings
    Mimic("release")+
    Mouse("left:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("300")+
    Mouse("left:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "G. 4":#timed, usually for placing buildings
    Mimic("release")+
    Mouse("left:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("400")+
    Mouse("left:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "large":#select large area
    Mimic("release")+
    Mouse("<-200,-200>/5")+
    Mouse("left:down/5")+
    Mouse("<300,300>/5")+
    Mouse("left:up/5"),
  "once":#click
    Mimic("release")+
    Mouse("left/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "small":#select small area
    Mimic("release")+
    Mouse("<-50,-50>/5")+
    Mouse("left:down/5")+
    Mouse("<100,100>/5")+
    Mouse("left:up/5"),
  "twice":#double-click
    Mimic("release")+
    Mouse("left:2/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  #mouse stuff
  #orders
  "all pause":#pause all factories
    Mimic("release")+
    Key("cs-a/80")+
    Key("c-z/5")+
    Function(get_position)+
    Mouse("[926,1075]/5,left/5")+
    Key("cs-l/80")+
    Key("c-z/5")+
    Mouse("[926,1075]/5,left/5")+
    Function(set_position)+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "cap":#capture object now
    Mimic("release")+
    Key("a-dot")+
    Key("s/5")+
    Key("c/5")+
    Key("shift:down/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "charge":#commander overcharge
    Mimic("release")+
    Key("a-comma/5")+
    Key("o/5")+
    Mouse("right/5")+
    Key("shift:down/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "check":#check nuke missiles
    Mimic("release")+
    Mouse("left/5")+
    Mouse("[110,1174]/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
  "claim":#point/select, reclaim, point, now
    Mimic("release")+
    Key("a-dot")+
    Key("s/5")+
    Key("e/5")+
    Key("shift:down/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "com":#commander, to point, now
    Mimic("release")+
    Key("a-comma/5")+
    Key("shift:down/5")+
    Mouse("right/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "cop":#commander, to point, queued
    Mimic("release")+
    Key("a-comma/5")+
    Mouse("right/5")+
    Key("shift:down/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "fight":#all air units, to point, now
    Mimic("release")+
    Key("c-a/5")+
    Mouse("right/5")+
    Key("shift:down/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "fill":#convert energy to mass
    Mimic("release")+
    Mouse("left:2/20")+
    Mouse("[294,1142]/5,left/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
  "filler":#convert energy to mass
    Mimic("release")+
    Mouse("left:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("200")+
    Mouse("left:up/40")+
    Mouse("[294,1142]/5,left/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
  "hard":#all under pointer, harden artillery
    Mimic("release")+
    Mouse("left:2/40")+
    Mouse("[291,1146],left")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
  "jump":#commander, jump/teleport
    Mimic("release")+
    Key("a-comma")+
    Key("c-j")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "kill":#all land units, to point, now
    Mimic("release")+
    Key("c-l/5")+
    Key("c-8/5")+
    Mouse("right/5")+
    Key("shift:down/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "look":#examine factory additions
    Mimic("release")+
    Key("h/5")+
    Key("b/5")+
    Key("2/5")+
    Key("b/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "loop[<n>]":#idle workers, to point, patrol, to point
    Mimic("release")+
    Key("c-7/5")+
    (
      Key("a-dot/5")+
      Key("s-7/5")+
      Key("c-7/5")+
      Key("7/25")+
      Mouse("right/25")
    )
    *Repeat(extra="n")+
    Key("p/5")+
    Key("shift:down/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("150")+
    Mouse("left/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "move":#move unit under pointer
    Mimic("release")+
    Mouse("left")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("200")+
    Mouse("right")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "moves":#move all under pointer on screen
    Mimic("release")+
    Mouse("left:2")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("200")+
    Mouse("right")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "no[<n>]":#remove waypoint under pointer
    Mimic("release")+
    (
      Key("ctrl:down/5")+
      Key("shift:down/5")+
      Mouse("right/5")+
      Key("shift:up/5")+
      Key("ctrl:up/5")+
      PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
      Pause("220")
    )
    *Repeat(extra="n")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "quickly":#selected, to point, now
    Key("shift:up")+
    Key("s")+
    Mouse("right")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "pause":#pause all factories
    Mimic("release")+
    Key("cs-a/80")+
    Key("c-z/5")+
    Function(get_position)+
    Mouse("[926,1075]/5,left/5")+
    Key("cs-l/80")+
    Key("c-z/5")+
    Mouse("[926,1075]/5,left/5")+
    Function(set_position)+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "round":#selected, patrol queue
    Key("p/5")+
    Key("shift:down/5")+
    Mouse("left/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "scout":#scout with aircraft
    Mimic("release")+
    Mouse("left/20")+
    Key("c-1")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("120")+
    Mouse("left/20")+
    Key("c-2")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("120")+
    Mouse("left/20")+
    Key("c-3")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("120")+
    Mouse("left/20")+
    Key("c-4")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("120")+
    Mouse("left/20")+
    Key("c-5")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("120")+
    Mouse("left/20")+
    Key("c-6")+
    Mimic("farthest")+
    Pause("100")+
    Key("1")+
    Key("m")+
    Mouse("[865,690],left")+
    Key("shift:down")+
    Mouse("[1195,401],right")+
    Mouse("[1275,402],right")+
    Mouse("[1293,494],right")+
    Mouse("[812,754],right")+
    Key("shift:up")+
    Key("2")+
    Key("m")+
    Mouse("[849,706],left")+
    Key("shift:down")+
    Mouse("[1188,394],right")+
    Mouse("[1147,293],right")+
    Mouse("[1018,301],right")+
    Mouse("[812,756],right")+
    Key("shift:up")+
    Key("3")+
    Key("m")+
    Mouse("[905,713],left")+
    Key("shift:down")+
    Mouse("[1212,452],right")+
    Mouse("[1252,475],right")+
    Mouse("[810,754],right")+
    Key("shift:up")+
    Key("4")+
    Key("m")+
    Mouse("[800,663],left")+
    Key("shift:down")+
    Mouse("[1134,381],right")+
    Mouse("[1112,330],right")+
    Mouse("[812,755],right")+
    Key("shift:up")+
    Key("5")+
    Key("m")+
    Mouse("[1325,717],left")+
    Key("shift:down")+
    Mouse("[1291,386],right")+
    Mouse("[1152,290],right")+
    Mouse("[904,283],right")+
    Mouse("[814,757],right")+
    Key("shift:up")+
    Key("6")+
    Key("m")+
    Mouse("[883,293],left")+
    Key("shift:down")+
    Mouse("[1150,292],right")+
    Mouse("[1282,389],right")+
    Mouse("[1302,731],right")+
    Mouse("[814,757],right")+
    Key("shift:up")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "spread":#attack with all under pointer
    Mimic("release")+
    Mouse("left:2/5")+
    Key("s/5")+
    Key("c-7/5")+
    Mouse("right:down/40")+
    Key("shift:down/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "stop[<n>]":#stop unit or building
    Mimic("release")+
    (
      Mouse("left/5")+
      Key("s/5")+
      PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
      Pause("100")
    )
    *Repeat(extra="n")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "stops":#stop all under pointer
    Mimic("release")+
    Mouse("left:2")+
    Key("s")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "slowly":#selected, to point, queue
    Key("shift:down/5")+
    Mouse("right/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "track":#stop tracking
    Mimic("release")+
    Key("t/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "use[<n>]":#select, use group now
    Mimic("release")+
    Text('%(n)s')+
    Mouse("right/25")+
    Key("shift:down/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "wait":#pause
    Mimic("release")+
    Mouse("left")+
    Function(get_position)+
    Mouse("[926,1075]")+
    Mouse("[926,1075],left")+
    Function(set_position)+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "walk":#unit under pointer, to point, queued
    Mimic("release")+
    Mouse("left")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("200")+
    Key("shift:down/5")+
    Mouse("right/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  "work[<n>]":#idle workers, to point, now
    Mimic("release")+
    Key("c-7")+
    (
      Key("a-dot")+
      Key("s-7")+
      Key("c-7")+
      Key("7")+
      Mouse("right")
    )
    *Repeat(extra="n")+
    Key("shift:down")+
    PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
  #orders
  #produce
  "bomb[<n>]":#bomber
    Mimic("release")+
    Mimic("airport")+
    Key("b/5")+
    (
      Key("r/5")
    )
    *Repeat(extra="n")+
    Key("b/5")+
    Function(get_position)+
    Mouse("[885,1075]")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
    Pause("250")+
    Function(set_position)+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "dog[<n>]":#worker
    Mimic("release")+
    Mimic("factory")+
    Key("b/5")+
    (
      Key("e/5")
    )
    *Repeat(extra="n")+
    Key("b/5")+
    Function(get_position)+
    Mouse("[885,1075]")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
    Pause("250")+
    Function(set_position)+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "fly[<n>]":#fighter
    Mimic("release")+
    Mimic("airport")+
    Key("b/5")+
    (
      Key("f/5")
    )
    *Repeat(extra="n")+
    Key("b/5")+
    Function(get_position)+
    Mouse("[885,1075]")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
    Pause("250")+
    Function(set_position)+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "sword[<n>]":#gunship
    Mimic("release")+
    Mimic("airport")+
    Key("b/5")+
    (
      Key("g/5")
    )
    *Repeat(extra="n")+
    Key("b/5")+
    Function(get_position)+
    Mouse("[885,1075]")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
    Pause("250")+
    Function(set_position)+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "tank[<n>]":#tank
    Mimic("release")+
    Mimic("barrack")+
    Key("b/5")+
    (
      Key("t/5")
    )
    *Repeat(extra="n")+
    Key("b/5")+
    Function(get_position)+
    Mouse("[885,1075]")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
    Pause("250")+
    Function(set_position)+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  #produce
  #research menu
  "show":#show the menu
    Mimic("release")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one air":#air
    Mimic("release")+
    Key("tab/10")+
    Mouse("[852,368],left")+#air
    Mouse("[757,671],left")+#veterancy
    Mouse("[982,673],left")+#cost
    Mouse("[1094,672],left")+#time
    Mouse("[1094,728],left")+#regeneration
    Mouse("[868,727],left")+#health
    Mouse("[980,726],left")+#shield
    Mouse("[757,784],left")+#train 1
    Mouse("[869,783],left")+#train 2
    Mouse("[979,783],left")+#train 3
    Mouse("[1091,783],left")+#train 4
    Mouse("[1204,784],left")+#train 5
    Mouse("[868,615],left")+#gunship
    Mouse("[1213,782]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one bomb":#bomber
    Mimic("release")+
    Key("tab/10")+
    Mouse("[849,368],left")+#air
    Mouse("[757,503],left")+#radar
    Mouse("[869,448],left")+#vision
    Mouse("[981,503],left")+#cluster
    Mouse("[1150,504],left")+#torpedo
    Mouse("[981,447],left")+#camera
    Mouse("[1093,448],left")+#duration
    Mouse("[1102,446]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one com":#commander
    Mimic("release")+
    Key("tab/10")+
    Mouse("[1171,367],left")+#acu
    Mouse("[757,559],left")+#health
    Mouse("[813,672],left")+#damage
    Mouse("[924,727],left")+#build cost
    Mouse("[935,727]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "two com":#commander
    Mimic("release")+
    Key("tab/10")+
    Mouse("[1171,367],left")+#acu
    Mouse("[757,559],left")+#health
    Mouse("[813,672],left")+#damage
    Mouse("[924,727],left")+#build cost
    Mouse("[870,560],left")+#vision
    Mouse("[982,617],left")+#radar
    Mouse("[812,504],left")+#regeneration
    Mouse("[924,672],left")+#range
    Mouse("[925,505],left")+#hunker 1
    Mouse("[981,448],left")+#health
    Mouse("[1092,448],left")+#anti-aircraft
    Mouse("[1150,615],left")+#radar jammer
    Mouse("[982,560],left")+#veterancy
    Mouse("[1037,672],left")+#missile launcher
    Mouse("[1148,672],left")+#artillery
    Mouse("[1035,726],left")+#energy income
    Mouse("[1149,728],left")+#overcharge
    Mouse("[1093,560],left")+#jump 1
    Mouse("[1203,560],left")+#jump 2
    Mouse("[1035,504],left")+#hunker 2
    Mouse("[867,614],left")+#torpedo
    Mouse("[1148,504],left")+#escape pod
    Mouse("[757,784],left")+#train 1
    Mouse("[869,783],left")+#train 2
    Mouse("[979,783],left")+#train 3
    Mouse("[1091,783],left")+#train 4
    Mouse("[1204,784],left")+#train 5
    Mouse("[1217,796]/5")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one deaf":#defensive apparatus
    Mimic("release")+
    Key("tab/10")+
    Mouse("[1061,365],left")+#structure
    Mouse("[757,672],left")+#radar
    Mouse("[869,672],left")+#artillery
    Mouse("[980,728],left")+#canon
    Mouse("[1092,727],left")+#anti-aircraft
    Mouse("[1204,729],left")+#engineering tower
    Mouse("[1213,727]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one land":#land units
    Mimic("release")+
    Key("tab/10")+
    Mouse("[745,369],left")+#land
    Mouse("[757,784],left")+#train 1
    Mouse("[869,783],left")+#train 2
    Mouse("[979,783],left")+#train 3
    Mouse("[1091,783],left")+#train 4
    Mouse("[1204,784],left")+#train 5
    Mouse("[1217,796]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one long":#long range artillery
    Mimic("release")+
    Key("tab/10")+
    Mouse("[1063,369],left")+#structure
    Mouse("[758,673],left")+#radar
    Mouse("[870,673],left")+#short artillery
    Mouse("[981,616],left")+#harden
    Mouse("[1092,617],left")+#long artillery
    Mouse("[1106,615]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one mass":#income
    Mimic("release")+
    Key("tab/10")+
    Mouse("[1060,365],left")+#structure
    Mouse("[758,505],left")+#build cost
    Mouse("[868,447],left")+#build time
    Mouse("[982,503],left")+#research income
    #Mouse("[981,448],left")+#energy income
    Mouse("[1092,447],left")+#mass income
    Mouse("[1204,448],left")+#mass converter
    Mouse("[1212,447]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one shield":#nuke offense/defense
    Mimic("release")+
    Key("tab/10")+
    Mouse("[1065,366],left")+#structure
    Mouse("[757,504],left")+#cost
    Mouse("[848,558],left")+#health
    Mouse("[961,557],left")+#shield
    Mouse("[1073,556],left")+#nuke defense silo
    Mouse("[1109,562]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one short":#short range artillery
    Mimic("release")+
    Key("tab/10")+
    Mouse("[1061,365],left")+#structure
    Mouse("[757,671],left")+#radar
    Mouse("[868,670],left")+#short artillery
    Mouse("[981,672],left")+#range
    Mouse("[981,616],left")+#harden
    Mouse("[994,670]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one struct":#structures
    Mimic("release")+
    Key("tab/10")+
    Mouse("[1061,365],left")+#structure
    Mouse("[757,504],left")+#cost
    Mouse("[869,448],left")+#time
    Mouse("[870,504],left")+#regeneration
    Mouse("[869,561],left")+#health
    Mouse("[757,784],left")+#train 1
    Mouse("[869,783],left")+#train 2
    Mouse("[979,783],left")+#train 3
    Mouse("[1091,783],left")+#train 4
    Mouse("[1204,784],left")+#train 5
    Mouse("[1217,796]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one sword":#gunship
    Mimic("release")+
    Key("tab/10")+
    Mouse("[852,368],left")+#air
    Mouse("[757,671],left")+#veterancy
    Mouse("[868,615],left")+#gunship
    Mouse("[880,614]")+
    Pause("200")+
    Key("tab/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  #research menu
  #select
  ##select groups
  "A.":#select and assign group
    Mimic("release")+
    Mouse("left:2/5")+
    Key("c-1/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "B.":#select and assign group
    Mimic("release")+
    Mouse("left:2/5")+
    Key("c-2/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "C.":#select and assign group
    Mimic("release")+
    Mouse("left:2/5")+
    Key("c-3/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "D.":#select and assign group
    Mimic("release")+
    Mouse("left:2/5")+
    Key("c-4/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "E.":#select and assign group
    Mimic("release")+
    Mouse("left:2/5")+
    Key("c-5/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "F.":#select and assign group
    Mimic("release")+
    Mouse("left:2/5")+
    Key("c-6/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  ##select groups
  #select
  #structure add-ons
  "all add":#add all factory upgrades
    Mimic("release")+
    Mimic("factory")+
    Key("b/5")+
    Key("2/5")+
    Key("a/5")+
    Key("s/5")+
    Key("i/5")+
    Key("t/5")+
    Key("b/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "one add":#TML
    Mimic("release")+
    Mimic("factory")+
    Key("b/5")+
    Key("2/5")+
    Key("t/5")+
    Key("b/5")+
    Mouse("[460,1162]/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
  "two add":#anti-aircraft
    Mimic("release")+
    Mimic("factory")+
    Key("b/5")+
    Key("2/5")+
    Key("a/5")+
    Key("b/5")+
    Mouse("[460,1162]/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
  "three add":#intel
    Mimic("release")+
    Mimic("factory")+
    Key("b/5")+
    Key("2/5")+
    Key("i/5")+
    Key("b/5")+
    Mouse("[460,1162]/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
  "four add":#shield
    Mimic("release")+
    Mimic("factory")+
    Key("b/5")+
    Key("2/5")+
    Key("s/5")+
    Key("b/5")+
    Mouse("[460,1162]/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
  #structure add-ons
  #x control game
  "AI":#fill game with AI opponents
    Function(get_position)+
    Mouse("left/5")+#first AI
    Mouse("<-100,100>/5,left/5")+#hard
    Function(set_position)+
    Mouse("<47,0>/5,left/5")+#team
    Mouse("<0,53>/5,left/5")+#2
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
    Pause("200")+
    Function(get_position)+
    Mouse("left/5")+#second AI
    Mouse("<-100,100>/5,left/5")+#hard
    Function(set_position)+
    Mouse("<47,0>/5,left/5")+#team
    Mouse("<0,34>/5,left/5")+#1
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "back":#show desktop
    Mimic("release")+
    Function(pause_it)+
    Mimic("switch"),
  "fast":#maximize game speed
    Mimic("release")+
    Key("npmul/10")+
    Key("npadd:10/20")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "change it":#host a game, toggle DLC
    #Mimic("release")+
    Mouse("[580,950]/5,left/40")+#back
    Mouse("[801,633]/5,left/40")+#okay
    Mouse("[1877,742]/5,left/80")+#enable/disable DLC
    Mimic("host","it")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "game":#pause game
    Mimic("release")+
    Function(pause_it)+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "host it":#host a game
    Mimic("release")+
    Mouse("[654,781]/5,left/20")+
    Mouse("[996,782]/5,left/40")+
    Text(r"no exclusions, 3v3 or 4v4")+
    Pause("20")+
    Key("enter/80")+
    Mimic("two","set")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "menu":#from game to main menu
    Mimic("release")+
    Key("f10/40")+
    Mouse("[950,726]/5,left/40")+#end game
    Mouse("[800,633]/5,left/80")+#yes
    Mouse("[1278,948]/5,left/120")+#quit to menu
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "load":#load game
    Mimic("release")+
    Key("f10/20")+
    Mouse("[958,673]/5,left/40")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("250")+
    Mouse("left/20")+
    Mouse("[731,825]/5,left/5")+#load game
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "lobby":#from game to lobby, solo
    Mimic("release")+
    Key("f10/40")+#menu 40
    Mouse("[950,726]/5,left/40")+#end game
    Mouse("[800,633]/5,left/80")+#yes
    Mouse("[1278,948]/5,left/80")+#quit to menu
    Mouse("[672,731]/5,left/40")+#skirmish
    Mouse("[981,733]/5,left/80")+#create game
    Mimic("one","set")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "norm":#regular game speed
    Mimic("release")+
    Key("npmul/10")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "opt in":#show options dialogue
    Mimic("release")+
    Key("f10/10")+#main menu
    Mouse("[961,576]/10,left/10")+#options
    #Mouse("[747,432]/10,left/10")+#controls
    #Mouse("[882,432]/10,left/10")+#interface
    #Mouse("[1024,432]/10,left/10")+#sound
    Mouse("[1167,432]/10,left/10")+#video
    Mouse("[872,476]/5,left/5")+#video
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "opt out":#exit options dialog
    Mouse("left/5")+
    Mouse("[666,754]/5,left/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "replay":#from game to replay menu
    Mimic("release")+
    Key("f10/40")+
    Mouse("[950,726]/5,left/40")+#end game
    Mouse("[800,633]/5,left/80")+#yes
    Mouse("[1278,948]/5,left/120")+#quit to menu
    Mouse("[653,882]/5,left/40")+#extras
    Mouse("[997,833]/5,left/40")+#replays
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "restart":#restart game
    Mimic("release")+
    Key("f10/50")+#menu
    Mouse("[957,519]/10,left/50")+
    Mouse("[807,624]/10,left/100")+#restart yes
    Pause("80")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "save":#save game to position one
    Mimic("release")+
    Key("f10/20")+
    Mouse("[951,624]/5,left/40")+
    PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
    Pause("250")+
    Mouse("left/20")+
    Mouse("[726,824]/5,left/40")+
    Mouse("[801,634]/5")+
    PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
  "one set":#set up, skirmish
    Mouse("[1329,462]/5,left/5")+#location
    Mouse("[811,329]/5,left/5")+#color
    Mouse("[821,622]/5,left/5")+#orange
    Mouse("[873,329]/5,left/5")+#faction
    Mouse("[882,370]/5,left/5")+#UEF
    Mouse("[1274,703]/5,left/5")+#victory
    Mouse("[1233,768]/5,left/5")+#infinite
    Mouse("[1270,726]/5,left/5")+#positions
    Mouse("[1270,770]/5,left/5")+#fixed
    Mouse("[1273,775]/5,left/5")+#fog
    Mouse("[1272,794]/5,left/5")+#explored
    #Mouse("[1228,817]/5,left/5")+#visible
    Mouse("[1276,798]/5,left/5")+#speed
    Mouse("[1245,863]/5,left/5")+#adjustable
    Mouse("[1303,948]/5")+#hover pointer
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "two set":#set up, multiplayer
    Mouse("[1329,462]/5,left/5")+#location
    Mouse("[811,329]/5,left/5")+#color
    Mouse("[821,622]/5,left/5")+#orange
    Mouse("[873,329]/5,left/5")+#faction
    Mouse("[882,370]/5,left/5")+#UEF
    Mouse("[1274,703]/5,left/5")+#victory
    Mouse("[1245,748]/5,left/5")+#supremacy
    Mouse("[1270,726]/5,left/5")+#positions
    Mouse("[1270,770]/5,left/5")+#fixed
    Mouse("[1273,775]/5,left/5")+#fog
    Mouse("[1272,794]/5,left/5")+#explored
    Mouse("[1276,798]/5,left/5")+#speed
    Mouse("[1271,820]/5,left/5")+#normal
    Mouse("[1303,948]/5")+#hover pointer
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  "slow":#minimize game speed
    Mimic("release")+
    Key("npmul/10")+
    Key("npsub:10/20")+
    PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
  #x control game
Technical Details
Message-ID: <4d942d34$0$10711$c3e8da3$76a7c58f@news.astraweb.com>
Path: mbox-mo1.pugleaf.net!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!mauve.octanews.net!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail
References: <4cc09a62$0$30848$c3e8da3$670ba073@news.astraweb.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!mauve.octanews.net!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail
Newsgroups: comp.sys.ibm.pc.games.strategic
Subject: Re: Supreme Commander 2 voice-activated scripts
From: John Doe <jdoe@usenetlove.invalid>
References: <4cc09a62$0$30848$c3e8da3$670ba073@news.astraweb.com>
User-Agent: Xnews/2006.08.05
Date: 31 Mar 2011 07:28:55 GMT
Lines: 1821
Message-ID: <4d942d34$0$10711$c3e8da3$76a7c58f@news.astraweb.com>
Organization: Unlimited download news at news.astraweb.com
NNTP-Posting-Host: cf4a989b.news.astraweb.com
X-Trace: DXC=95_TAbFNfZb\; 1IogBA]HfL?0kYOcDh@j>4bi8eR:fMj>JUi@3?a8CoJA>58nC`28aCLLVSX7OlmjF3ZjeAJ6i>k?BVog?LK:Pm@adSBnA2FZb
Bytes: 50960
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit