Sign in to follow this  
Followers 0
MariusN

Latest version 3.3.2.0

3 posts in this topic

#1 ·  Posted (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 by MariusN

Share this post


Link to post
Share on other sites



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?

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 :D

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 :huggles:

thx Admin

Edited by MariusN

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0