You didn't say whether you're writing in VBA or VBScript, but what you
quoted is VBA. The VBScript interpreter won't like the "As
WindowEyes.window" bit.
If you're using Chip's MSOffice script to write this, you'll need to use
that to save as VBScript before you can run it within Window-Eyes.
On 5/3/2011 1:43 PM, Jeff Weiss wrote:
In the example from scripting class 10, I tried to run this script,
but got an error on the following line:
Sub onPopupTipCreate(win As WindowEyes.window)
The error was expected ')' at column 26.
What should be different in this line?
Jeff Weiss