Most good DLLs on scripting sites are open-source, which is wonderful for learning and sharing ideas. I'm sure you can get a lot of useful tricks just by looking at the code.

Your specific questions are welcome - we like to solve puzzles here smile