Manipulating System Clock
Manipulating System Clock
- Subject: Manipulating System Clock
- From: George <email@hidden>
- Date: Thu, 12 May 2011 05:28:32 +0900
Dear AppleScripters,
Hello. I know how to manipulate the date and the time of the system clock through AppleScript or Shell. I use the following.
do shell script "/usr/sbin/systemsetup -setdate 'mm:dd:yy' -settime 'hh:mm:ss'"
But there's a problem for me. You can use this trick only if the application is run under an administrative account. In other words, you cannot manipulate the system clock in this manner if the app is run under the guest account or a standard account. Are there simple alternatives such that the application can change the date and the time under a non-administrative account. It's a problem for me because Mac App Store, according to Apple, requires that the app can run under non-administrative accounts.
Thank you for your advice.
Jim _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden