Hi, I’m trying to list every application in the applications folder, but not in subfolders. I tried
set appF to (path to applications folder as string)
tell application "Finder"
set theItems to name of every application of folder appF
end tell
… but I get this error: error “Finder got an error: Can’t get every application of folder "Applications" of startup disk.” number -1728 from every application of folder “Applications” of startup disk
Every file of of folder appF works but not application!