Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 27, 2008, 11:04 AM   #1
madmatter23
macrumors newbie
 
Join Date: Mar 2008
Using AppleScript to reset Date

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!
madmatter23 is offline   0 Reply With Quote
Old Mar 27, 2008, 11:11 AM   #2
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Dallas, TX
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
lee1210 is offline   0 Reply With Quote
Old Mar 27, 2008, 11:55 AM   #3
toddburch
macrumors 6502a
 
Join Date: Dec 2006
Location: Katy, Texas
Send a message via AIM to toddburch Send a message via MSN to toddburch
Quote:
Originally Posted by lee1210 View Post
Just license the app, and the date restriction will go away =).

-Lee
Too funny!
toddburch is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Date and Time Reset After Battery Drains 78258 iPhone Tips, Help and Troubleshooting 1 Mar 12, 2014 04:05 PM
Applescript help: creating a date from text in Outlook email Rossdillon Mac Programming 1 Feb 22, 2014 05:48 PM
Applescript Is there a way to search for a time or date withi text wild4life2013 Mac Programming 5 Sep 20, 2013 01:35 PM
automatically change to the priority of to do list based on due date applescript wild4life2013 Mac Programming 0 Sep 8, 2013 10:30 AM
Applescript for for matching creation date on two files Errabundo Mac Programming 2 Aug 16, 2012 09:41 AM

Forum Jump

All times are GMT -5. The time now is 06:10 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC