Jump to content
Sign in to follow this  
yana209

AutoIt Error

Recommended Posts

yana209

Hi everyone,

We on our client's server computer which potentially very important system as it is the backbone for management solution provided by us, have some strange "AutoIt" error.

AutoIt Error

Line 0 File("C\WINNT\System32\SVICHOSST.exe")

If $odia[1]""<>Then

If^ERROR

Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.

I cannot opt for a fresh installation of Windows2000, so would need help on this, as I have never come across something like this before.

Thanks

Yasir

Share this post


Link to post
Share on other sites
Jos

i assume the line should read: If $odia[1] <> "" Then ?

It means that the Array doesn't have at least a dimension of 2 like this example which will generate the same error:

Dim $odia[1]
If $odia[1] <> "" Then
EndIf

So you need to check your script how the array is created...

:P

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
yana209

i assume the line should read: If $odia[1] <> "" Then ?

Well my bad yes the line is like that. But this is the self generated error. I don't even know of automation of scripts.

Share this post


Link to post
Share on other sites
Jos

Well my bad yes the line is like that. But this is the self generated error. I don't even know of automation of scripts.

Not sure what you are saying here but there is an issue in the script ... look at its source and check why the Array isn't properly initialized.

:P


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×