dfay Posted March 24, 2017 Share Posted March 24, 2017 Allow a keyword to have the argument pre-populated with selected text (or maybe add a modifier key that does so), just as hotkeys have the option to act on selected text already. For use scenario see Link to comment Share on other sites More sharing options...
Andrew Posted March 24, 2017 Share Posted March 24, 2017 @dfay it's unlikely I'll add this to Alfred as it would involve quite a bit of fudging to be compatible. When you use a hotkey to select some text in Alfred, the source app still has focus so it's easy to generically get that app to copy the selection to the clipboard. Once Alfred has focus (i.e. you are typing a keyword into Alfred), this context has gone so it would involve using e.g. Accessibility access which the main Alfred app doesn't want, or AppleScript which is very much app specific. I do have some things planned for Alfred in the future which will make getting a text selecting into an Alfred Workflow more generic, but no details as of yet. Cheers, Andrew Link to comment Share on other sites More sharing options...
dfay Posted March 25, 2017 Author Share Posted March 25, 2017 That makes sense. I thought about trying to cook a solution with AppleScript as well but realized the app-specific issue would make it nigh impossible. Link to comment Share on other sites More sharing options...
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