Well I don't think we have an actual expert amoung all of us at AutoIt...and if so they sure aren't cluing us in.
I've clipped code from dang near every one thats posted in that thread. Ether some one has solved some thing I'm stuck on, or they have a cleaner way of doing things.
Really half or more of my scripts should be revised to reflect more current or cleaner methods of going about stuff.
drthawhizkid script is a perfect example for others to work from...only minor suggestion I might have is some thing that Mhz showed me the other day and thats making use of StringSplit.
So in the above mentioned script I would replace $SN_1-$SN_4 with just $SN_1 and redo the registration bit with some minor tweaks....this doesn't improve the script any...just a different way of doing things.
$SN_1 = "****-****-****-****" ; Serial Number
; Serial Number Registration
$SN = StringSplit( $SN_1 , '-' )
WinWaitActive ( "Serial number registration" )
ControlSetText ( "Serial number registration" , "" , "TEdit4" , $SN[1] )
ControlSetText ( "Serial number registration" , "" , "TEdit3" , $SN[2] )
ControlSetText ( "Serial number registration" , "" , "TEdit2" , $SN[3] )
ControlSetText ( "Serial number registration" , "" , "TEdit1" , $SN[4] )
ControlClick ( "Serial number registration" , "" , "TButton2" )
Any ways in time we may have an expert and maybe then we'll get a real tutorial on how to use it for best effect.
Till that point every one is just poking around in the dark trying to find the best way to do things.
Well get your self knee deep into this stuff and when you got a script done up be sure to post it along with mine and drthawhizkid, and the rest of the crew. A lot more gets done faster the more every one contributes.