Re: [Panther] Script Fast User Switching
Re: [Panther] Script Fast User Switching
- Subject: Re: [Panther] Script Fast User Switching
- From: Stephen Jonke <email@hidden>
- Date: Fri, 7 Nov 2003 21:26:08 -0500
Make an applescript from this (all on one line):
do shell script "/System/Library/CoreServices/Menu\\
Extras/User.menu/Contents/Resources/CGSession -suspend"
Make sure you include two backslashes as shown.
That example takes you to the login screen. If you want to switch to a
particular user make it:
do shell script "/System/Library/CoreServices/Menu\\
Extras/User.menu/Contents/Resources/CGSession -switchToUserID someuser"
All the credit for this goes to the author of the original (shell
script) hint. See the macfixit article for more on this:
<
http://www.macosxhints.com/article.php?story=20031102031045417>
Steve
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.