gcue Posted February 5, 2009 Share Posted February 5, 2009 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 Link to comment Share on other sites More sharing options...
Inverted Posted February 5, 2009 Share Posted February 5, 2009 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 ? Link to comment Share on other sites More sharing options...
gcue Posted February 5, 2009 Author Share Posted February 5, 2009 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* Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 5, 2009 Share Posted February 5, 2009 ya going forward i know what to do to "decorate" themunfortunately 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 Link to comment Share on other sites More sharing options...
gcue Posted February 5, 2009 Author Share Posted February 5, 2009 lololol hehe i often want to use that icon.. perfect usage! thanks 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