Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

My netbook running Windows 7 Starter seems to know when I attach or remove my external monitor. But I'm wondering if there is some way to attach a script or action when these events are detected by the OS.

I'd like to try to automate a few settings changes when switching between the 10.1" screen and the 22" screen, for instance making the task bar autohide on the small screen.

share|improve this question
up vote 1 down vote accepted

You could probably cook something up with Autohotkey. For example, this thread seems to be a good starting point.

share|improve this answer
Thanks Craig. While AutoHotKey doesn't have an event I can hook it does have the SetTimer command which lets me do polling and it has the SysGet command which retrieves multi-monitor info. I'll definitely be experimenting with this. – hippietrail May 13 '11 at 3:53

Your Answer


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.