In the snippet of script I’ve copied below, I cant get Applescript to return the correct answer… There are 3 files in the folder identified in the path. When running this script, the “display dialog” says:
“There are 0 images in my import folder…”
What is happening? Do I have the count command written and ‘parenthesed’ properly?
Here’s the script lines:
set photocount to count (every file of alias “MBP:Users:medmonds:Desktop:Imported:”)
display dialog “OK. There are " & photocount & " images in my import folder. Please choose what they are for.” buttons {“x”, “y”, “z”} default button 3