Jump to content

dictionary define action doesn't focus to dictionary.app

Recommended Posts

If Dictionary.app window is opened in desktop space Window 1, now switch current space to Window 2, launch Alfred, fire action "define hello", the desktop space stays at Window 2, won't change focus to Dictionary.app window in Windows 1 as desired.


Alfred 3.5.1, macOS 10.13.2

Edited by georgexsh
Link to post
  • 3 weeks later...

@georgexsh This is a macOS shortcoming, which you would experience as well if you were to type "dict://hello" into Safari; MacOS doesn't change to the appropriate Space in that situation either.


Resolving this is not as simple as Alfred launching the command to define the word, followed by bringing Dictionary to come into focus, as some users may be using the "dict://" URL scheme to launch a different dictionary application from the default macOS one. In that case, launching the word definition (in their chosen app) then bringing Dictionary into focus would create unwanted, confusing behaviour.


Having said that, you can easily replace the "define" keyword with a small workflow that opens the "dict://{query}" in your default Dictionary, followed by an object launching the Dictionary app (which should bring you to the right Space if it's already launched). You can then disable the default "define" keyword in Features > Dictionary. 


I'm moving this to Discussion & Help, so let us know if you need any help creating the workflow described above :)



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.

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