I am looking for a simple way for my script to display a jpg at a particular position on the screen. That is all I really need it to do. I figured Image Events would be perfect but I was surprised to learn it does not display images. I was hoping to avoid opening a complex app just to display one image.
Does anyone have any suggestions? Is the a shell script command that might help me?
set myFolder to choose folder
set fNames to list folder myFolder without invisibles
set fStrings to ""
repeat with i from 1 to count of fNames
set fName to item i of fNames
set posixPath to POSIX path of ((myFolder as text) & fName)
set fStrings to fStrings & space & quoted form of posixPath
end repeat
do shell script "qlmanage -p " & fStrings & " >& /dev/null"
Thanks, that is very interesting and I had no idea it even existed. I will explore it.
Can you please tell me what the end of the shell script line does? " >& /dev/null" I am new to shell script commands and was curious as to why you were appending that to the command.