Thread: Automation Anywhere

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    5

    Automation Anywhere

    Hey guys,

    I downloaded this pretty cool program called Automation Anywhere. It allows you to record what you do on your computer and then setup scheduals to do the process again when you want. It got me wondering how someone would program something like this. I went out and searched the net but i really didnt know what to look for. Does anyone know where i could find programming information about this?

    thanks.

  2. #2
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,110
    Something you should look into might be the Process Class .

    A quick example.
    Code:
    using System.Diagnostics;
    
    Process proc = new Process(); 
    proc.StartInfo.FileName ="C:\\WINDOWS\\Notepad.exe";
    proc.StartInfo.Arguments = "fileToBeOpened.txt";
    proc.Start();
    This will open the specified file ( argument ) in notepad.

    From what I know you can let every program run like this. So basically when programming something like a scheduler you would just let it run in the background the whole time, and on a specified date-time youŽll have the app trigger an event that will start all the processes you want to start.

    Although I think that if you really want to be able to acces most of the functions etc etc from a random program, you should have the SDK or be able to add a reference from within - and i assume here you are using Microsoft Visual Studio - visual studio so that you will be able to communicate with the program - for instance schedule a playlist to be played at a certain date-time.

    You will have to add a reference to your project Project->Add reference->COM->Windows Media Player.
    The rest is actually pretty easy especially when going to the MSDN library. Although I just see that they recommend using the SDK of Windows Media Player 9...

    Anyway I think thats the way to go for a project like that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GUI testing automation recomandation
    By kroiz in forum Tech Board
    Replies: 1
    Last Post: 12-04-2007, 05:39 PM
  2. Microsoft Word Automation
    By BobS0327 in forum Windows Programming
    Replies: 12
    Last Post: 11-22-2007, 05:53 PM
  3. Accessibility and automation technologies - which to prefer?
    By midix in forum Windows Programming
    Replies: 4
    Last Post: 10-05-2007, 01:33 PM
  4. Instantiation Automation Server
    By Gravedigga in forum Windows Programming
    Replies: 2
    Last Post: 10-27-2003, 05:09 PM
  5. Automation (or similar) without MFC
    By Robert602 in forum Windows Programming
    Replies: 0
    Last Post: 11-14-2002, 10:29 AM