Cross Program Macro - IBM VIAVOICE 10-PRO USB EDITION User Manual

Pro usb edition
Table of Contents

Advertisement

28. In the Macro Name box, type the word 'at' between '<company>' and
'<dollars>', and delete the word 'Stocks'. It should look like this in the
Macro Name box: Buy<company>at<dollars>.
29. Click Next and select Exit this Wizard.
30. To test the macro, put focus on Notepad, and say "Buy IBM at $250". It
will be displayed as Buy IBM @ $250.

Cross Program macro

In this example, you will create a Cross program macro named Square root,
which will calculate the square root of a number and paste the result at the
cursor position of a word processor. (In the example below we are using
Notepad.) While you are creating this macro, be sure you read the information
that is displayed in the Navigation Macro Wizard.
1. Open Notepad (or any other word processing program).
2. From the ViaVoice menu, point to Tools, and then click Work with
Navigation Macros.
3. Click New Macro, and the Navigation Macro Wizard is displayed.
4. Click Next, after you read the introduction.
5. Select Create a Cross program macro, and then click Next.
6. In the Macro name box, type 'Square root', in the Description box, type
'Calculates the square root of a number', and then click Next.
7. In the Select the Advanced Features dialog, select Yes, I want to use the
Advanced Features, and then click Next.
8. Click Next, after you read the tips for inserting Actions and Lists.
9. Click Begin Recording.
10. On the Record panel click Action.
11. Select start Calculator from the actions list, then click Insert Action.
Calculator is launched. (Please note that this macro will only work if you
use Calculator in the Standard view.)
12. On the Record panel click List.
13. Select numbers and click Insert List.
14. Put the focus back to Calculator by clicking on the title bar of the
application.
15. Press SHIFT+' to obtain '@'. (The at-sign is the keystroke for the square
root function in Calculator.)
16. Press CTRL+C to copy the result to the clipboard.
17. Press ALT+F4 to close Calculator.
18. Put the focus back to Notepad by clicking on the title bar of the
application.
19. Press CTRL+V to paste the result of your calculation at the cursor
position.
Chapter 13. Creating macros
125

Advertisement

Table of Contents
loading

This manual is also suitable for:

Viavoice 10 for windows

Table of Contents