autoit_shai Posted June 12, 2005 Posted June 12, 2005 Hi, First, I must congratulate you for this wonderful program (Which I had found out only week ago...) However, I am having problem working with ListBox functions: any one of the following commands didn't return a desired result (aka real value...) AutoIt.ControlCommand "Form1", "", "ThunderRT6ListBox1", "AddString", "string" MsgBox AutoIt.ControlCommand("Form1", "", "ThunderRT6ListBox1", "GetCurrentSelection", "") MsgBox AutoIt.ControlCommand("Form1", "", "ThunderRT6ListBox1", "GetSelected", "") What am I doing wrong? (I Am using AutoItX3 via VB)
Valuater Posted June 13, 2005 Posted June 13, 2005 $cmd_1 = ControlCommand("", "", "", "GetCurrentSelection", "") $cmd_2 = ControlCommand("", "", "", "GetSelected", "") MsgBox (0,"", $cmd_1) MsgBox (0,"", $cmd_2) you had improper use of the commands hope it helps 8)
autoit_shai Posted June 13, 2005 Author Posted June 13, 2005 Thanks, but I think i misunderstood you. As I said, I am using AutoItX3 via VB. Therefore, that is the corresponding program syntax. Despite The difference between native Autoit script and VB syntax, I didn't see any further difference... Any suggestion?
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