thanks praetorian.
but i cant get this to work. Where should i run this script?
i pasted your script in Script Editor and ran it and it gave me an error "Expected expression but found unknown token"
i also tried pasting it in QS text box and "run a text in Terminal"
and i got the error.
-bash: syntax error near unexpected token `do'

On 29-Oct-08, at 11:09 PM, praetorian wrote:


display dialog "Enter Spotlight query" default answer "" buttons
{"OK", "Cancel"} default button 1

Arrgh. The forum split the first line of the script. There shouldn't
be a newline there.

Reply via email to