r/applescript • u/Doctor__Hammer • May 26 '21
Applescript to switch user accounts?
I have two Mac user accounts, my personal and my work. I switch back and forth from them so often that having to click around and then put in my passwords every time is driving me absolutely insane.
In this post, it appears someone has successfully created a working script to switch from one user account to another without putting in the password. Login to mac os user account using apple script from Login window
I'm unable to replicate it however. I'd really appreciate some help with this!
2
Upvotes
View all comments
Show parent comment
1
u/Doctor__Hammer Jul 02 '21
Thanks for the reply! Something's still not working though... I'm getting the error:
error "sh: /System/Library/CoreServices/Menu Extras/user.menu/Contents/Resources/CGSession: No such file or directory" number 127
Any ideas?