Well.. basically. I am making a program to go:
I am using SendKeys to send it to the current screen. What I am wondering though, this being my question, is, how can I override SendKeys to accept a custom amount of parameters? For example:Code:a b c d etc.. aa ab ac ad etc.. ba bb bc bd etc..
SendKeys.Send(myArray[x], myArray[y], myArray[z]);
But sometimes it might be 2.. or 7?! Anyways.. I'm just looking for a way to do this... I know I can do it with like.. 4000 if statements but I'd prefer clean code. Yea.. Any ideas = appreciated




Reply With Quote