on QuickLook(thisFile)
do shell script "qlmanage -p " & quoted form of thisFile & " >& /dev/null &"
end QuickLook
worked perfectly in 10.5. However, in 10.6, the window seems to display “[DEBUG]” in the title. Any idea how to remove this (or alternatively, to QuickLook the file directly from applescript)?