Jump to content
wwwjfy

How to tell if Alfred is shown with the new focusing feature

Recommended Posts

Hi,

 

Here is the problem I met with the latest 2.7.2 update:

 

I have Keyboard Maestro set up for an app to map hjkl keys.

Before 2.7.2, I map keys when the front window of the app has title "xxx", and when Alfred is shown, the key mappings won't be triggered, as it's not active any more.

With 2.7.2, this won't work, that Keyboard Maestro still thinks the app is activated.

 

So now how can I tell Keyboard Maestro the app is not active, or at least, Alfred is shown, so don't do the key mappings?

Share this post


Link to post

Hi,

 

Here is the problem I met with the latest 2.7.2 update:

 

I have Keyboard Maestro set up for an app to map hjkl keys.

Before 2.7.2, I map keys when the front window of the app has title "xxx", and when Alfred is shown, the key mappings won't be triggered, as it's not active any more.

With 2.7.2, this won't work, that Keyboard Maestro still thinks the app is activated.

 

So now how can I tell Keyboard Maestro the app is not active, or at least, Alfred is shown, so don't do the key mappings?

 

I don't know the nitty gritty of how Keyboard Maestro works, but I'm certain it's related to this issue:

 

http://www.alfredforum.com/topic/7080-alfred-272-beta-build-mid-development-testing/?p=38484

 

and this fix:

 

http://www.alfredforum.com/topic/7080-alfred-272-beta-build-mid-development-testing/?p=38525

 

If it's possible to use the same:

 

* kCGWindowOwnerName = "Alfred 2"

* kCGWindowLayer = 27
 
then this may work for you?
 
Cheers,
Andrew

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...