Applescript to ignore keystroke/trackpad inputs for period of time

Discussion in 'Mac Programming' started by dpro, Oct 19, 2011.

  1. dpro macrumors newbie

    Joined:
    Oct 19, 2011
    #1
    I'm new and have no idea if this is possible. I'd like an applescript that I could run in automator that would cause the computer to ignore any keyboard or trackpad inputs for a set period of time, like 30 seconds, so that the screensaver stays on.

    The goal is to keep a screensaver from waking up until data is saved, and therefore prohibit students from interfering with the data saving process. The automator app will start screen saver, close programs, and save data, then wake from the screen saver, at which point the students can shut down the computer. If students have the ability to wake the computer, they will not wait for the data to save, and will shut down the computers as soon as they can.

    I apologize if this isn't clear. I appreciate any help. Thanks! :)
     
  2. jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    That's going to be hard. Maybe it's better to attack the problem at it's root cause.

    Your scenario is rather bazaar. Can you tell us more about what this close programs and save data process is actually about?
     

Share This Page