Search the Community
Showing results for tags 'scopes'.
Found 1 result
Is it possible to restrict a hotkey to be active only when a particular application is in the foreground? The default implementation of hotkeys in Alfred's workflows causes all hotkeys to be 'global' in scope, which is to say that they work regardless of what application is running. For example, I'd like to run an apple script using the hotkey combination 'command+D' when Adobe Illustrator is in the foreground. Currently, setting this hotkey in Alfred achieves my purpose, however it also overrides the same hotkey combination in other apps that already use it, such as the 'duplicate' command in Finder. What I'd like is for 'command+D' to continue functioning as is when Finder is in the foreground, and make it run my apple script when Illustrator is in the foreground. Appreciate any feedback or ideas!