Using AppleScript to reset Date

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

  1. macrumors newbie

    Joined:
    Mar 27, 2008
    #1
    Hi,

    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?

    Thanks!
     
  2. macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #2
    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 =).

    -Lee
     
  3. macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #3
    Too funny!
     

Share This Page