Jump to content

Recommended Posts

Posted (edited)

Hi Nahuel,

First of all, thanks a lot for the time you spend to help me.

Sorry for my late answer, but im running Linux at home, and wasnt able to test my code during the weekend then :/

I understood your code, and adapted it to my case.

However, the script encounters an error :

If $Check=$Selectec[$a] Then

If $Check=^ERROR

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

Then, im not sure of what

#include <IE.au3>
Dim $Selected[4]

means.

I thought it was a sort of dimension for the array, and therefore the number of possible "slots" to store the different options/comparte the picked up otion in the ones that have been stored.

What is happening there then?

Edited by Koopa
Posted

Hi Nahuel,

First of all, thanks a lot for the time you spend to help me.

Sorry for my late answer, but im running Linux at home, and wasnt able to test my code during the weekend then :/

I understood your code, and adapted it to my case.

However, the script encounters an error :

Then, im not sure of what

#include <IE.au3>
Dim $Selected[4]

means.

I thought it was a sort of dimension for the array, and therefore the number of possible "slots" to store the different options/comparte the picked up otion in the ones that have been stored.

What is happening there then?

Dim $Selected[4] declares an array of 4 elements. Change the 4 for the number of items your combo has + one. (If it has 5, put 6 there). Try making this change and you'll probably won't get that error.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...