- Code: Select all
on hazelProcessFile(infile)
set thePath to quoted form of POSIX path of infile
do shell script "qlmanage -p " & thePath & " >& /dev/null"
end hazelProcessFile
Moderators: Mr_Noodle, Moderators
on hazelProcessFile(infile)
set thePath to quoted form of POSIX path of infile
do shell script "qlmanage -p " & thePath & " >& /dev/null"
end hazelProcessFile
#!/bin/sh
qlmanage -p $1 >& /dev/null