Re: Lion -- Disable fast user switching via command line and Applescript.
Re: Lion -- Disable fast user switching via command line and Applescript.
- Subject: Re: Lion -- Disable fast user switching via command line and Applescript.
- From: Luther Fuller <email@hidden>
- Date: Wed, 04 Jan 2012 14:29:20 -0600
On Jan 4, 2012, at 1:05 PM, David Kahn wrote: Thanks Luther for your response, doesn't seem help. I copied the file as root and then made changes using plist editor and replaced the "old with the modified" and still no joy.
So, I tried another experiment in Snow Leopard ...
(and wrote a bunch of stuff here which I then erased when I realized I knew how to get this to work!)
This script just works ...
do shell script "defaults write /Library/Preferences/.GlobalPreferences MultipleSessionEnabled -bool true"
set accountsPane to (((path to library folder from system domain) as text) & "PreferencePanes:Accounts.prefPane") as alias tell application "Finder" to open accountsPane delay 1 tell application "System Preferences" to quit
Try it in Lion and let us know what happens.
|
_______________________________________________
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