I am working on a project where I will want to display images full screen at depending on certain conditions. I can do the underlying script work, but I am having a hard time finding an application or method to show the images without briefly flashing the desktop in between.
For example, I took pieces from other’s scripts and made a script to use quick look to show images, but you see the Desktop between each one. See below.
Since I do not know the order of images, it makes it also not ideal to use an app like GraphicConverter’s slideshow feature. If you script many individual slideshows, it will also will briefly show the desktop in between slideshows.
I need a basic app that shows an image full screen until it is told via script to show a different image.
As always, any help wold be appreciated.
set thefolder to choose folder
tell application "Finder"
set all_files to (every file in thefolder)
if window 1 exists then
set the target of window 1 to thefolder
else
reveal the_folder
end if
--Send the Esc key to exit the previous quick-look, if there is one
tell application "System Events"
key code 53
end tell
repeat with ff in all_files
delay (1)
--select the new file
select ff as alias
activate
activate window 1
--Activate full screen quick look on the selected file
tell application "System Events"
keystroke "y" using {command down, option down}
end tell
end repeat
end tell