I am just getting into AppleScript so bear with me please. I need to create a method, preferably an applescript to display fullscreen the last image file dropped into a specified folder remotely. So when a networked computer sends a file into a folder on my mac the applescript jumps into action displaying the file with the most recent date/time to full screen on my mac.
I’ve tried using the fully scriptable Quicktime application to “present” the file in full screen with little success. Does this seem like a reasonable way to accomplish my task? I realize the most difficult part for me will be in determining the most recent file to display but I assume there is a way to look at creation dates and times with apple script.
Finally, the script will be invoked through a folder action, upon noticing a change in the specified folder. An example of this in action is: Once an image file is written to the watched folder my folder action triggers the applescript and displays the image fullscreen. The applescript closes and the image remains on the screen. Then a new file is uploaded to the folder remotely. Again the folder action sees this and invokes the applescript, which again displays the new image full screen and then closes.
I really need to get this figured out, thanks for any help you can provide!