Sign in to follow this  
Followers 0
gcue

duplicate control IDs

5 posts in this topic

when i first started a script i didnt know it was gonna blow up to something bigger (12,000 lines).. so i have alot of duplicate control ids throughout the entire thing *sigh*

yes i have DEFINITELY learned my lesson :)

anything out there smart enough that can help clean this up?

thanks

Share this post


Link to post
Share on other sites



You can "decorate" them according to their usage. By decoration I mean to prepend them with relative info ... probably according to the GUI element or function they are used with.

By the way, are they defined as local accross different functions ?

Share this post


Link to post
Share on other sites

ya going forward i know what to do to "decorate" them

unfortunately they're declared as global variables - so i have dupes like $OK_btn, $add_child, and who knows how many more

*sigh*

Share this post


Link to post
Share on other sites

ya going forward i know what to do to "decorate" them

unfortunately they're declared as global variables - so i have dupes like $OK_btn, $add_child, and who knows how many more

*sigh*

Hours and hours of find and replace... the pain will make you stronger, and your AutoIt-Fu will become mighty!

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

lololol

hehe i often want to use that icon.. perfect usage!

thanks

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