Use Applescript to flash the screen...

I am trying to work on an applescript for a deaf friend of mine that would:

  1. flash the screen (to get his attention)

  2. have a confirmation/dialog box (to allow them to choose if they want to go and see the message that the flashing screen was attempting to inform them)

thank you in advance for all of your help!




when you check “Flash the screen when an alert sound occurs” in Universal Access > Hearing
a simple AppleScript


flashes the screen