Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display shortcuts for active app #15

Open
maltsev opened this issue Jul 21, 2018 · 1 comment
Open

Display shortcuts for active app #15

maltsev opened this issue Jul 21, 2018 · 1 comment

Comments

@maltsev
Copy link
Contributor

maltsev commented Jul 21, 2018

In most cases, we're interested only in shortcuts related to a currently active app. Alfred allows to get an active app name, so we can filter the results.

This can be achieved either with a hotkey trigger with Focused App Variable enabled or using the following Applescript:

tell application "System Events" to return name of first process whose frontmost is true

Though, these solutions won't give you a name or a URL of an active browser tab.

As with #12 we can make a separate trigger for it.

@mutdmour
Copy link
Owner

that would be a nice feature. I might take it on if I get the time soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants