Jump to content

need help with workflow: how to I pass search phrase to HoudahSpot?


Recommended Posts

hi, 

 

my workflow works fine until HS´S default window is open with the search-text box active.

 

Maybe I have a very stupid brain day today but I don´t find the next module for this:

 

HoudahSpot-Workflow

 

I need the next step to paste the argument between the "..." into the active text-box.

Edited by Thomas_U
Link to comment

If you want to pass some data other than a file or URL to an application, you have to do it a different way.
 
Remove your Open in App action and replace it with a Run Script action. Set language to /usr/bin/osascript (AS) and paste this in the Script box: 

tell application "HoudahSpot"
    search "{query}"
    activate
end tell

Connect it to your keyword and you should be good to go.

Link to comment

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...