PageRenderTime 17ms CodeModel.GetById 16ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/speechmacros/SensorPlotTab.WSRMac

https://bitbucket.org/jat45/ami
Unknown | 1 lines | 1 code | 0 blank | 0 comment | 0 complexity | 646cab1d216f8e7d764bf1e49c488062 MD5 | raw file
 1<speechMacros>
 2
 3    <!-- only use macros in this file if AMI is running-->
 4    <condition operator="AND">
 5        <appIsRunning windowTitleContains = "AMI" />
 6    </condition>
 7
 8    <command>
 9        <listenFor>View full plot</listenFor>
10        <sendKeys>%f</sendKeys>
11    </command>
12
13    <command>
14        <listenFor>View last N seconds</listenFor>
15        <!-- first, press the button -->
16        <sendKeys>%n</sendKeys>
17        <!-- then, tab to the text area and select the current text -->
18        <sendKeys>{TAB}</sendKeys>
19        <sendKeys>^a</sendKeys>
20        <waitFor seconds="0.2" />
21        <script language="VBScript">
22            <![CDATA[
23            text=Application.prompt("Dictate the time to display (in seconds), and say 'OK' when finished")
24            Application.InsertText(text)
25            ]]>
26        </script>
27        <!-- finally we need to press enter to register the new value -->
28        <sendKeys>{ENTER}</sendKeys>
29    </command>
30
31</speechMacros>
32
33
34