therockmandolinist Posted April 9, 2016 Posted April 9, 2016 Would be cool to be able to lock alfred in place based on keyword/workflow. (As in if i type a given keyword (for a workflow), alfred won't "go away" and erase anything I have typed when i click away from it). This might be useful for workflows with complex chains of interaction or when a lot of text needs to be typed in. Don't know if this is possible or if it's against the spirit of Alfred in terms of what it's "supposed" to be used for, but I have a couple workflows where I could use this.
deanishe Posted April 10, 2016 Posted April 10, 2016 Re-open Alfred and hit the up arrow. That will bring back your previous query. Too many keypresses? Assign a hotkey to the following AppleScript (with Alfred or Fast Scripts or whatever): -- Open Alfred tell application "Alfred 2" to search "" -- Wait for Alfred window to appear delay 0.2 -- Simulate Up-Arrow keypress tell application "System Events" to key code 126 You may need to increase the delay 0.2 (or you may be able to reduce it). therockmandolinist 1
FroZen_X Posted April 10, 2016 Posted April 10, 2016 (edited) Re-open Alfred and hit the up arrow. That will bring back your previous query. Too many keypresses? Assign a hotkey to the following AppleScript (with Alfred or Fast Scripts or whatever): -- Open Alfred tell application "Alfred 2" to search "" -- Wait for Alfred window to appear delay 0.2 -- Simulate Up-Arrow keypress tell application "System Events" to key code 126 You may need to increase the delay 0.2 (or you may be able to reduce it). If its just about having the previous query back, then you can also change your settings. Under Advanced -> History -> Activate "Show latest history if within 5 minutes" I got the tip from Vero a little while ago: https://twitter.com/alfredapp/status/711159248017858562 Edited April 10, 2016 by FroZen_X deanishe and therockmandolinist 2
deanishe Posted April 10, 2016 Posted April 10, 2016 Good point. I always forget about that. therockmandolinist 1
dfay Posted April 11, 2016 Posted April 11, 2016 Nice Dean....I have been using Alfred for nearly five years and never knew about the up arrow trick.
shau-kote Posted May 5, 2016 Posted May 5, 2016 Support dfay, it's a very nice feature. But is there a way to disable the behaviour in the particular workflow? One of my workflows requires a ability to quickly select the first and the last items in Script Filter list. Sometimes up arrow selects the last item, but sometimes it switches to the previous query. It's not good for me.
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