MariusN Posted January 12, 2010 Share Posted January 12, 2010 (edited) With the previous version 3.3.0.0 the function =Opt("OnExitFunc","MsgBoxHookDeRegister")= worked...now in the latest version of Auto-It it says ==Opt() called with illegal argument 1: "OnExitFunc"== I am using the CustomMsgBox.au3 udf file. Do i need to change "MsgBoxHookDeRegister" or is there an alternative command to this? I have also noticed a major "lag" when trying to close a menu via the (x) on the right hand top corner... Edited January 12, 2010 by MariusN Link to comment Share on other sites More sharing options...
Developers Jos Posted January 12, 2010 Developers Share Posted January 12, 2010 With the previous version 3.3.0.0 the function =Opt("OnExitFunc","MsgBoxHookDeRegister")= worked...now in the latest version of Auto-It it says ==Opt() called with illegal argument 1: "OnExitFunc"==I am using the CustomMsgBox.au3 udf file. Do i need to change "MsgBoxHookDeRegister" or is there an alternative command to this?I have also noticed a major "lag" when trying to close a menu via the (x) on the right hand top corner...Have you read the "script braking changes" in the helpfile which is linked in the History page? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
MariusN Posted January 13, 2010 Author Share Posted January 13, 2010 (edited) Have you read the "script braking changes" in the helpfile which is linked in the History page?You're right...sorry Jos...Will have a look at it now Ok...I did this and it seems to work..OnAutoItExitUnRegister("MsgBoxHookDeRegister")Can someone explain WHY you have to register a function as i always used it without registering...Never mind i came right...Just want to tell the other scripters who hasnt worked with this new version of AutoIt yet...it ROCKS!! much more function 2 thx Admin Edited January 13, 2010 by MariusN 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