Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any software (freeware) which will automate tasks on my system, so it can be used to log in or log off any site at specific time?

I had a software called Robotask but couldn't understand how it works.

share|improve this question

Yeah, you can definitely use Windows PowerShell for this purpose. Granted, you'll have to get used to writing some code, but you can automate Internet Explorer via the IE COM API. Here's a short example to get you started:

$ie = New-Object -ComObject InternetExplorer.Application;
$ie.Visible = $true;

Start-Sleep -Seconds 1;

$myinput = $ie.Document.getElementById('lst-ib');
$myinput.value = "powershell";

Start-Sleep -Seconds 1;

$myform = $ie.Document.getElementById('tsf');
share|improve this answer

If you want to improve the way the browser waits for page load, or you have any side effects from the valuechange you need to trigger in Javascript, then you should download a module we made for making IE automation simpler (it's free):

To do the above, it would be:

Open-Browser -Url "" | 
    Set-BrowserControl -Id lst-ib -Value powershell | 
    Set-BrowserControl -Id tsf -click

Hope this Helps

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .