Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

There's this website I need to access about every ten minutes. And apparently it was designed in 1993, by sadists. There is no "remember me on this computer" checkbox. And if you don't interact with it for a minute or two it logs you out.

I would like to somehow implement a keystroke that will bring my browser to the foreground, open a new tab, enter my username and password, and click "Login".

It isn't that I don't want to learn AppleScript. I'd love to. I enjoy learning programming languages. I already know several.

It's just that I have many other more pressing matters and time is short and it is seems like not the greatest idea to dig into AppleScript just to deal with this one problem.

What would be the fastest, simplest way to resolve this?

Any help or advice would be greatly appreciated.

Thanks!

share|improve this question
    
It doesn't seem to be possible to interact with web pages in Safari using AppleScript. Depending on how the login is implemented by the server and why/how you access the page every 10 minutes it might be an option to use curl to pull the page into a local cache. –  patrix Sep 22 '11 at 18:36
3  
Not sure if you want to spend money on an app, but have you given 1Password a try? They have global keyboard shortcuts for opening a site and logging in. –  canderson Sep 22 '11 at 19:30
    
OK, great. I have 1Password but I didn't know they had global keyboard shortcuts. Where would I look for that? I did a search in the docs and couldn't find it. I did figure out that the browser plugins will open a new tab and log you in someplace, so that's good. –  Agvorth Sep 22 '11 at 22:49

2 Answers 2

up vote 3 down vote accepted

There are commercial tools that do this very well. Each is a drop in the bucket if you depend on them, but are in the $25-35 range since they do many things other than just this one single task. 1Password might be better at a single key command to fill in both a username and password, but TextExpander is also very awesome at what it does and might be more useful in the long run if you don't need a password generation/wallet replacement.

  • 1Password - from where I sit, the best tool for improving web form management securely. It integrates with just about every browser and it very actively being developed.
  • TextExpander for Mac - also, the best of class for taking short snippets and expanding them no matter what app you need the typing assistance.

They do different things and are both on the App Store. Check the developer web sites to see if they have free demo versions - especially if you don't feel you will need them or have concerns about buying without seeing them.

share|improve this answer

The Lastpass plugin is configurable to autologin to sites. It operates a freemium model, so all of the basic features are free (including autologin).

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.