vitor Posted March 12, 2017 Share Posted March 12, 2017 This workflow is officially deprecated if favour of Alfred’s Dispatch Key Combo Output. You can find the old source on Github. Quick reference for when you need to tell application "System Events" to key code in AppleScript. Call it with kc. Type a search term to filter keys. FroZen_X, artdev, seanrwcrawford and 2 others 5 Link to comment
deanishe Posted March 12, 2017 Share Posted March 12, 2017 Very handy! Download link currently points to the wrong workflow, btw vitor 1 Link to comment
vitor Posted March 12, 2017 Author Share Posted March 12, 2017 Fixed the download link. Apologies and thank you. Link to comment
vitor Posted April 19, 2017 Author Share Posted April 19, 2017 Update. Added OneUpdater support. It’s unlikely it’ll ever be needed, though. Link to comment
cands Posted November 13, 2017 Share Posted November 13, 2017 Thanks for making this, it's very useful. I have a feature request, could you make it possible to also do inverse search, e.g. "kc 53" would find Escape? This could be useful when reading AppleScript with key code statements, to figure out what they do quickly. Link to comment
vitor Posted November 13, 2017 Author Share Posted November 13, 2017 39 minutes ago, cands said: could you make it possible to also do inverse search, e.g. "kc 53" would find Escape? That’s a reasonable request, but I won’t do it. It’d require either changing from the List Filter Input (which I don’t want to do, because I like how clear it is to non-coders) or making the numbers be in the title (which I don’t want to do because it looks ugly). You can do that, though. Open the List Filter, and for each item copy or cut the subtitle and paste it in the title. It’ll start working as you want right away. Link to comment
deanishe Posted November 13, 2017 Share Posted November 13, 2017 21 minutes ago, vitor said: It’d require either changing from the List Filter Input Could you not add additional entries to the List Filter that are the other way around (i.e. "53" is the title and "⎋ / Escape" is the subtitle)? Link to comment
vitor Posted November 13, 2017 Author Share Posted November 13, 2017 3 hours ago, deanishe said: Could you not add additional entries to the List Filter that are the other way around (i.e. "53" is the title and "⎋ / Escape" is the subtitle)? Yes, but that falls on the “don’t want to do because it looks ugly”. I’d rather do it without the List Filter. It’s a good use case for match. It’s still less clear to non-coders, but maybe that’s not as important in this case. Link to comment
cands Posted November 15, 2017 Share Posted November 15, 2017 Thanks for your input. I understand that I can copy the information in the subtitle to the title to make it work, but I feel it's a pity that this is needed since the necessary information is already provided to the List Filter, and I agree it would look ugly. It makes me think that it may be good if Alfred could allow for (optionally) searching the subtitles as well. I'm also curious, how could it be done using 'match' @vitor? Link to comment
vitor Posted November 15, 2017 Author Share Posted November 15, 2017 32 minutes ago, cands said: I'm also curious, how could it be done using 'match' @vitor? Would need to be a Script Filter. Link to comment
cands Posted November 19, 2017 Share Posted November 19, 2017 On 15/11/2017 at 4:56 PM, vitor said: Would need to be a Script Filter. Thanks for the explanation, I now understand how it can be achieved. Not sure that I'll get around to fix this, but if I do I'll post some info about my experience here. 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