GTT Posted September 19, 2006 Share Posted September 19, 2006 Hi,I am very new to this so bare with me....I have an array called $UserNames and $PlayerNum is an index in that array so $UserNames[$PlayerNum]I used to input this into a login form with ControlSetText which allworked fine and dandy, however the login form seems to have changed into some form of HTML mutant which wont allow me to do that anymore.so i am trying to do a Send of that information.i have tried Send ($UserNames[$PlayerNum][,1]) which gives me `error in expression`anyone any ideas? Link to comment Share on other sites More sharing options...
Marc Posted September 19, 2006 Share Posted September 19, 2006 (edited) Changing the "[,1]" into "[1]" should help...According to HMTL forms, you should take a look athttp://www.autoitscript.com/forum/index.php?showtopic=19368 Edited September 19, 2006 by Marc Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL) Link to comment Share on other sites More sharing options...
GTT Posted September 19, 2006 Author Share Posted September 19, 2006 Changing the "[,1]" into "[1]" should help... According to HMTL forms, you should take a look at http://www.autoitscript.com/forum/index.php?showtopic=19368 changing it to [1] gives me array number has incrrect number of subscripts or subscript range dimension exceeded Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 19, 2006 Moderators Share Posted September 19, 2006 changing it to [1] gives me array number has incrrect number of subscripts or subscript range dimension exceededNo one can tell you what your true issue is with your "2 dimensional" array without seeing your code. If you want help with it, I'd suggest doing the right thing and posting it. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
jvanegmond Posted September 19, 2006 Share Posted September 19, 2006 If it's just 1 dimensional: Send ($UserNames[$PlayerNum],1) github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now