Jump to content

Text or word search on webpages?


Recommended Posts

Sometimes I don't want to read the whole blog again to find the paragraph about 'pitfalls' is there a way to use Alfred to search on a page just for a word? maybe is already done and I just don't know about it. let me know

insider_idea copy.gif

Edited by albertkinng
Link to post
Share on other sites
20 hours ago, deanishe said:

That's an extremely vague description. What exactly are you imagining doing with Alfred and what do you think should happen then?

fair enough...

 

let's pretend I go to https://daringfireball.net and instead of read all his posts I just bring Alfred and write a word I know it's inside of the post I'm looking for... when I hit enter that word is selected in the page I'm reading. 

insider_idea copy.gif

Edited by albertkinng
Link to post
Share on other sites

So you want to trigger Safari's own search via Alfred?

 

Put your query on the find pasteboard with the bash/zsh command echo "$1" | pbcopy -pboard find then simulate ⌘F to trigger Safari’s search.

 

Link to post
Share on other sites
19 hours ago, deanishe said:

So you want to trigger Safari's own search via Alfred?

 

Put your query on the find pasteboard with the bash/zsh command echo "$1" | pbcopy -pboard find then simulate ⌘F to trigger Safari’s search.

 

Thanks for your help man. I just need a little bit of direction... where I place that code? Sorry for the stupid question

Link to post
Share on other sites
  • 3 weeks 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...