Jump to content
Sign in to follow this  

Searching for a postprocessor to resolve GUI calculations

Recommended Posts



I'm looking for a postprocessor to resolve calculations in GUI functions. E.g. something like this

GUICtrlCreateLabel("Test", 10 + 5, 100 + 3, 120 + 4 - 3, 20 - 3)

is resolved to this

GUICtrlCreateLabel("Test", 15, 103, 121, 17)

I've the bad habit of adjusting control positions this way :blink:, and it would be nice to have a script to clean up this mess afterwards.

I've already searched the forum, the closesd thing was imho AutoIt Syntax Highlight by MrCreatoR. Guess a mix of StringRegExpReplace() and Execute() is the way to go... but before I try to reinvent the wheel... maybe anyone solved this already ;)?

Best Regards

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.