Jump to content

Application Switcher ?

Recommended Posts

I'm looking for a way to switch between applications with the Alfred remote. (and I don't find it)


A key combo "cmd+tab" seem to be a good idea, but how can I typing "cmd + tab" on my mac in the key Combo without switching ?



Thanks for answers.

Link to comment

Pressing key combinations programatically is generally not a great idea, but I’m not sure there’s a way to cycle applications with AppleScript any other way.
To do it, connect your Remote trigger to a Run Script using /usr/bin/osascript (AS) and paste one of these (not the lines starting with --, as they are comments and do nothing):

-- ⌘⇥
tell application "System Events" to key code 48 using {command down}

-- ⌘⇧⇥
tell application "System Events" to key code 48 using {command down, shift down}


Alternatively, I’ve made you a quick workflow for this, so you just need to grab it.

Edited by Vítor
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...