Jump to content

have a keyword act on selected text


dfay
 Share

Recommended Posts

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

@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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...