Jump to content

are there any Alfred workflows to trigger a HoudahSpot Template based search?


Recommended Posts

Here's what I use - called from a keyword with space & argument required, in a Run Script object set to osascript (AS) with input as {query}

 

on run
	set theQuery to "{query}"
	tell application "HoudahSpot"
		search theQuery template POSIX file "/Users/username/Library/Application Support/com.houdah.HoudahSpot4/Templates/templatename.hstemplate"
	activate
	end tell
end run

 

Link to post
45 minutes ago, dfay said:

Here's what I use - called from a keyword with space & argument required, in a Run Script object set to osascript (AS) with input as {query}

 


on run
	set theQuery to "{query}"
	tell application "HoudahSpot"
		search theQuery template POSIX file "/Users/username/Library/Application Support/com.houdah.HoudahSpot4/Templates/templatename.hstemplate"
	activate
	end tell
end run

 

 

thank you very much @dfay !

Link to post

I'm sorry @dfay . I have not created workflows in a while and I am rusty.

Your keyword + script solution works fine for one template.

I can't remember how to create a workflow with one keyword (hs) which would display a selection of templates to choose from

thanks again very much

Link to post

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