Jac Posted August 18, 2008 Share Posted August 18, 2008 Ive made a login script with autoit that is lauch when the user logon on the domain On some pc, i have this error Line -1 Error: Variable must be of type "Object" Can somebody explain me what it is? How can i debug that error ? Thanks Jac Link to comment Share on other sites More sharing options...
Joscpe Posted August 18, 2008 Share Posted August 18, 2008 I kept getting this while trying to make a Rich Text object before. Must be a bug in the new beta, like how you cant use styles, unless you use the 0x###### values. -Joscpe Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 18, 2008 Moderators Share Posted August 18, 2008 I kept getting this while trying to make a Rich Text object before. Must be a bug in the new beta, like how you cant use styles, unless you use the 0x###### values.Don't get people thinking there are bugs when you probably haven't even submitted bug report and haven't received a confirmation on such a thing.You need to trap COM errors, there are examples all over the forum, and within IE.au3 itself (assuming you are using IE.au3.). Use _IEErrorHandlerRegister to trap them. 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...
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