Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Can someone code me a basic program for me (Involves controlling another program)

I have no idea how to control a different program from without yours, but, I need to do it. Either can you give me the source to an example, or can you code a bot which reads a list of serials off a .txt, then, injects into steam and tries them ALL? Preferably without keyboard presses, considering that'll render my PC useless till it's done.

Well... I tried to throw one together with keyboard inputs and it froze my whole PC... >.>

Code
private void button1_Click(object sender, EventArgs e)
  {
    System.Threading.Thread.Sleep(5000);
    System.IO.TextReader t = new System.IO.StreamReader("C:\\users\\nicholas\\desktop\\keys.txt");
    string currentLine;
    while((currentLine = t.ReadLine()) != null) {
    SendKeys.SendWait("{tab}{tab}{tab}{tab}+a{del}");
    System.Threading.Thread.Sleep(100);
    SendKeys.SendWait(currentLine);
    System.Threading.Thread.Sleep(100);
    SendKeys.SendWait("{enter}");
    System.Threading.Thread.Sleep(5000);
    SendKeys.SendWait("{enter}");
    System.Threading.Thread.Sleep(100);
    }
  }



Possibly Related Threads...
Thread / Author Replies Views Last Post
[Assembly] by ayleid96May 12, 2013 02:45 PM 18 729 May 12, 2013 02:45 PM
Last Post: notsteve
[Assembly] by chwiztophewSep 17, 2012 02:44 PM 1 173 Sep 17, 2012 02:44 PM
Last Post: DaRkReD
by rafailosJan 29, 2012 06:32 PM 8 142 Jan 29, 2012 06:32 PM
Last Post: MrZander