Jump to content
rodrigobdz

Workflow: Swap User - Quickly switch between mac accounts

Recommended Posts

Alfred Workflow: Swap User

Swaps automatically to the next user

Requirements

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

Installation

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

Usage

Swap User Usage

How does it work

From the users listed when running the following command:

dscacheutil -q user | grep -A3 -B2 -e 5'[0-9][0-2']

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

Credits

Edited by rodrigobdz
Correct shell command

Share this post


Link to post
9 hours ago, Rutger Heringa said:

Dear Rodrigo,

I am new to this forum. Where can I download your workflow to swap users?

Thank you!

Rutger

Hi Rutger,

Thanks for your interest. You can download the workflow from here. It's the Github's releases page from the workflow's repo.

Please feel free to contact me if you have any further questions.

Best regards,

Rodrigo

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...