Tembo and Hook work together

If any Hook users are also Tembo users (search program that pairs with Spotlight), it has AppleScript support and works with Hook with the following couple of scripts:

Get name:

tell application "Tembo"	
	set resultList to selection in front document
	repeat with _result in resultList
		set theName to the name of _result
	end repeat
end tell

Get link:

tell application "Tembo"
	set resultList to selection in front document
	repeat with _result in resultList
		set theLink to the path of _result
	end repeat
end tell
1 Like