Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 27, 2008, 10: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, 10: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, 10: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Connect to WiFi using AppleScript Ipodize Mac Programming 10 Feb 22, 2011 03:28 PM
Applescript to Reset Network Usage in iStat Pro whatisthe Mac Applications and Mac App Store 1 Jan 15, 2009 10:32 AM
Use applescript to open pop-up? winterdude010 Mac Programming 9 Nov 13, 2008 01:49 AM
Using applescripts to downsize lossless and put on iPod - experience? kavika411 iPod 0 Feb 18, 2007 12:42 PM
Can I use Applescript to do this? Caezar Mac Programming 5 Oct 29, 2006 10:00 PM


All times are GMT -5. The time now is 09:09 AM.

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

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