Proposal - Know Your Environment

How cool would it be if your program actually knew about its environment and could react?