OK I'm getting the same kind of errors that the OP had. I've downloaded/installed autoit v3 and the beta
version. I've downloaded and unzipped the autoit-123 file. (New release Aug 9 2006, running on W2K SP4)
Since it comes with no install instructions I just created a directory called "howto" and unzipped
the executable and directories in there.
Now, when I run the exe, I get exactly the same errors as above.
Deinstalling autoit and reinstalling fixes it, provided you set the default double-click action to "edit"
during the instalation process (the pre-selected action in the installation program is "run")
After that, running autoit-123 and clicking Show Me SciTE - Editor pops up a new window containing
the Lesson-1.au3 file. If you have the default double click action set to run then this button fails.
The Show Me - search help button acts the same.
Clicking the Show me - help demos button still fails with the error
Line 0 (File "C:\autoit\howto\Autoit-123.exe"):
For $X = 1 To $FileList[0]
For $x = 1 To $FileList^ ERROR
Error: Subscript used with non-Array variable
after clicking OK, the program fails and terminates.
Now, as you can tell by looking at the date I joined this forum (i.e. today), I'm a complete
novice so far as Autoit goes, and the very first sample program I run fails almost immediately.
I'm still forming my first impressions of the package - so far, I can't say I'm happy.
Can someone please help me sort out this stumbling block, so I can see if Autoit can
fulfill my hopes for an easy to use windows automation program?
Pete