mlondon Posted June 15, 2016 Share Posted June 15, 2016 Hi, I'm a workflow newbie. As MS Word does not allow direct lookup using OS X's Dictionary, I want to make a workflow where I can highlight a word, press a hotkey, and have Alfred open Dictionary.app and paste the word in the search box. I was able to create a Hotkey with Action: Pass thru to workflow and Argument: Selection in OS X It then launches Dictionary, but I cant figure out how to paste the selected word. Much appreciated. Link to comment
deanishe Posted June 15, 2016 Share Posted June 15, 2016 You don't need to launch Dictionary.app. Connect your Hotkey directly to an Open URL Action and set the URL to: dict://{query} Link to comment
mlondon Posted June 15, 2016 Author Share Posted June 15, 2016 You don't need to launch Dictionary.app. Connect your Hotkey directly to an Open URL Action and set the URL to: dict://{query} So simple, thank you ! Link to comment
sots Posted February 14, 2017 Share Posted February 14, 2017 I'm attempting to do something similar: - Create a workflow to pass on OS X selection though to the Dictionary - Then, if the full definition is desired, open the Dictionary with the OS X selection passed through What I've done: - Created a workflow: Hotkey (Action: pass thru to workflow; Argument: selection in macOS) + Dictionary Filter Problem: While this does indeed show the definition in the Alfred window, pressing return does nothing/nada/zilch Ideas? Many thanks! Link to comment
deanishe Posted February 16, 2017 Share Posted February 16, 2017 (edited) Do exactly what I said above. Add an Open URL Action with the URL dict://{query} and connect your Dictionary Filter to it. Edited February 16, 2017 by deanishe Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now