Swap User

An Alfred Workflow


Short Description

Quickly switch between mac accounts

Last Updated

12 May 2018

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.0.0
 

Bundle ID

rodrigobermudezschettino.swapuser
 

Swaps automatically to the next user

Requirements

  • Alfred
  • Alfred Powerpack
  • Assistive access enabled in System Preferences > Universal Access

Installation

  1. Download the .alfredworkflow file
  2. Double click to install

Usage

Type sw in Alfred to swap users.

How does it work

From the users listed when running the following command:

dscacheutil -q user | grep -A 3 -B 2 -e uid:\ 5'0-9'

the script excludes the current user and takes the first user from the ones remaining.

Links

Credits

Screenshots