Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to create a scheduled task that opens up a webpage that has requires credentials for an http login dialog. I can get IE to load the page, but it will not remember my password for some reason. Firefox does remember my password, But it still requires someone sitting at the machine to click OK. Also, the scheduled task will not even run if Firefox is already running even though I specify 'new window' as a command line argument. Instead, it gives this message: 'Firefox is allready running, but not responding. To open a new window...'). Here is the command I'm using to load the page:

"C:\Program Files\Mozilla Firefox\firefox.exe" -new-window http://example.com/

Idealy, this is what I need:

  1. Load a URL into a new browser window
  2. Login to a http username/password dialog

Thats it, seems simple right? How should i be doing this?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Maybe try using a different scheduler to see if it can get around the issue of FF not opening a second window. I use System Scheduler, which I've found "better" than the built in.

For OKing the passsword, can FF remember to stay logged in? Depends on your private data settings- make sure to disable "clear private data" on exit.

A bit clumsy perhaps, but a simple autohotkey script can send enter, perhaps add this action to the schedule.

share|improve this answer
    
Armitage- glad I could help. Which suggestion did the job? –  outsideblasts Oct 8 '09 at 18:20
    
That worked almost perfectly. This program has keystroke options, where I can tell it to type in the login/password. Not ideal for these sensitive credentials. Also, this program doesn't seem to have options to 'wake' the computer. I actually would like this to run in the middle of the night as a WinXP service. It looks like only the pro version of this software will allow that. Oh well, beggars can't be choosers. –  AyexeM Oct 8 '09 at 18:28
    
Try this to wake: dennisbabkin.com/php/download.php?what=WOSB –  outsideblasts Oct 8 '09 at 18:36

If you can manage to get firefox open, you can use the iMacros addon to login for you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.