1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Using AppleScript to reset Date

Discussion in 'Mac Programming' started by madmatter23, Mar 27, 2008.

  1. macrumors newbie


    I'm wondering how to create a very simple applescript. I just want it to set the system date to February 5th every time that I launch a particular application. Is this possible?

  2. macrumors 68040


    You should be able to run a shell command that does 'date -s "02/05/2008 00:00:00"'. I don't know if applescript itself can set this, i looked around briefly and didn't see anything. The script could probably do this first, then launch the app. I am not too familiar with binding scripts to other actions, but that may be possible, too.

    Just license the app, and the date restriction will go away =).

  3. macrumors 6502a

    Too funny!

Share This Page