Sign in to follow this  
Followers 0
Jewtus

Override UDF variables

2 posts in this topic

I'm wondering if there is any way to override variables from a UDF without modding the UDF itself? The reason I ask, is because I use the Array UDF quite a bit, but for a specific script, I'd like to make the Array display box narrower. I took a look at the Array.au3 script and found this:

Local $iOrgWidth = 210, $iHeight = 200, $iMinSize = 250

before it creates the array display Gui and I'm wondering if there is a way to override those variables for a specific array without modding the core array script.

Share this post


Link to post
Share on other sites



No, since the variable is local, and there is no argument in the signature to pass, it is not possible.

Just copy the func into your project and rename it _ArrayDisplayAlt or something and do whatever tweaks you need.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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