a--m Posted August 8, 2017 Share Posted August 8, 2017 (edited) Hi, I'm creating my first workflow, so please bear with me The idea is simple I would like to show a image based on a query. Is there any way to do open something like the finder preview using Alfred? I don't want to open the image in with something similar to finder quick-look, since this is intended to show a quick help and if opened on preview requires to close it latter. Thanks Edited August 8, 2017 by a--m Link to comment
deanishe Posted August 8, 2017 Share Posted August 8, 2017 If you result points to an image file, you can Quicklook it with SHIFT. Link to comment
a--m Posted August 8, 2017 Author Share Posted August 8, 2017 Hi @deanishe I would like to have a really simple workflow that does the following: - input keyword: ('kl') - press enter (↩︎) - input query ('upper') - press enter (↩︎) - show image What I've achieve so far is to use a terminal command action that runs the following: qlmanage -p ~/.alfred-workflows/keyboard-layouts/{query}.png This works, it opens Quickview with the specified image, the problem I have now is that it opens a terminal window and process, and this is annoying. Link to comment
a--m Posted August 8, 2017 Author Share Posted August 8, 2017 Ok, I think I have it now. Just used run script instead and it works! Link to comment
deanishe Posted August 8, 2017 Share Posted August 8, 2017 1 hour ago, a--m said: - input keyword: ('kl') - press enter (↩︎) - input query ('upper') Why do you need to press ↩ between entering keyword and query? Link to comment
a--m Posted August 8, 2017 Author Share Posted August 8, 2017 2 hours ago, deanishe said: Why do you need to press ↩ between entering keyword and query? You don't need, but you can, alternatively to inset a space Just realise that after your question. Usually I tend to do that if there is an autocomplete before I complete to write the keyword, but in this case it does not make any sense since the keyword are only two letters. 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