Re: Manipulating System Clock
Re: Manipulating System Clock
- Subject: Re: Manipulating System Clock
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 11 May 2011 16:45:53 -0400
There is no way for a non-admin account to set the system clock. If you can't have apps that require admin privs in the app store, then you can't have apps that just set the system clock in the app store.
However, you might be able to have an app that does something useful for non-admins and has additional functionality when run as an admin?
On Wed, May 11, 2011 at 4:28 PM, George
<email@hidden> wrote:
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
--
Mark J. Reed <
email@hidden>
_______________________________________________
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