I see a lot of applications that can respond to applescript messages such as this one. tell application \"Safari\"