Index

# AppleScript

## Initiating queries

Queries may be initiated by calling upon the BlitzSearch feature using AppleScript.
`

             tell application "HoudahSpot"
                      blitzSearch “mySearchString” filename yes content yes comments yes
             end tell

`

## Getting access to files

Using AppleScript you may access the full search results as well as the current selection.
Example:
`

             tell application "HoudahSpot"
                      set mySelection to selection of first document

                      repeat with myFile in mySelection
                               set myName to name of myFile
                               display dialog myName
                      end repeat
             end tell

`
Please refer to the scripting dictionary for further details.