Jump to content

Get Currently Selected Text


Recommended Posts

Hi,

 

I'd like to create several Workflows that operate on the currently selected text, either directly through some sort of transformation (e.g. making all caps) or by passing that selection to some other operations (e.g. search in Google, create new text file with text as content).  I can't figure out how to implement a simple "get" command in Alfred that works on the current selection.  Any ideas?

Link to comment

Hi,

 

I'd like to create several Workflows that operate on the currently selected text, either directly through some sort of transformation (e.g. making all caps) or by passing that selection to some other operations (e.g. search in Google, create new text file with text as content).  I can't figure out how to implement a simple "get" command in Alfred that works on the current selection.  Any ideas?

 

I'm not sure what you mean by "a simple 'get' command". Are you meaning that you can't find a way to get the currently selected text?

Link to comment

Right - to get the currently selected text. For example, I'm reading a PDF, and I see a word I don't know, or want more information about. Is there a way to highlight that word, activate Alfred, and then perform an operation on the highlighted text, such as "Define" or run a google search, or what have you.  

Link to comment
  • 4 months later...
  • 10 years later...

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
×
×
  • Create New...