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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old Feb 21, 2012, 01:00 AM   #1
kodydoherty
macrumors newbie
 
Join Date: Feb 2012
Applescript modifying properties with system events

I am running 10.7. I want to use system events to change the security settings on my mac. When I run this script it appears to work by asking for my password for each one of the changes. The issue is nothing happens after. I never get an error nor is any settings changed.

tell application "System Events"
tell security preferences
get properties
set properties to {log out when inactive:false, automatic login:true, require password to unlock:false, log out when inactive interval:14, require password to wake:false}

end tell

end tell
kodydoherty is offline   0
Old Feb 21, 2012, 10:54 AM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
One thread is enough. Replies in the original please: http://forums.macrumors.com/showthread.php?t=1324240
robbieduncan is offline   0

Closed Thread
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
Certain keys not working with certain modifiers foidulus MacBook 1 Sep 29, 2011 11:08 AM
Need Help with System preferences & Applescript lynkynpark86 Mac Programming 1 Apr 24, 2010 04:48 PM
Finally, user can modify calendar of each events magician iPhone 1 Apr 12, 2010 06:37 AM
noob help: Applescript - System Events, keystroke... jakdominance Mac Programming 7 Nov 19, 2008 05:52 AM
AppleScript System Events Volume Help stevietheb OS X 2 Aug 19, 2005 09:01 PM


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

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

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