Cavok Posted May 16, 2007 Posted May 16, 2007 (edited) Hi,I am trying to read the text from a tab by using the function '_Tab_GetItemText($handle, 1)' from the Auto3Lib library. However, when executing my program I receive the next error message:C:\PROGRA~1\AutoIt3\Include\A3LTabControl.au3 (457) : ==> Variable must be of type "Object".: $tItem.Mask = $TCIF_ALLDATA $tItem^ ERRORThe tabcontrol I want to read the tab from is located on a GUI NOT created with AutoIT, so maybe this may be a problem, but the strange thing is that other tab functions, like '_Tab_GetCount($handle)' are working for the same tabcontrol. Only the functions for which I have to specify an index do give problems.Someone has an idea? Thanks! Edited May 16, 2007 by Cavok
PaulIA Posted May 16, 2007 Posted May 16, 2007 Hi, I am trying to read the text from a tab by using the function '_Tab_GetItemText($handle, 1)' from the Auto3Lib library. However, when executing my program I receive the next error message: C:\PROGRA~1\AutoIt3\Include\A3LTabControl.au3 (457) : ==> Variable must be of type "Object".: $tItem.Mask = $TCIF_ALLDATA $tItem^ ERROR The tabcontrol I want to read the tab from is located on a GUI NOT created with AutoIT, so maybe this may be a problem, but the strange thing is that other tab functions, like '_Tab_GetCount($handle)' are working for the same tabcontrol. Only the functions for which I have to specify an index do give problems. Someone has an idea? Thanks!You're not using the latest version of Auto3Lib. Auto3Lib: A library of over 1200 functions for AutoIt
Cavok Posted May 18, 2007 Author Posted May 18, 2007 You're not using the latest version of Auto3Lib.Installing the latest AutoIT and Auto3Lib versions solved the problem, thanks!!
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