I have a script that asks for a folder first, then launches the files of that folder as a list, then I select the file, and then it launches it. But I want it to open the contents of a pre-specified folder as a list and then I select from the list and then for it to launch it. I don't want to have to go through the step of having to select the folder each time.
The script I have is:
set sourceFolder to choose folder
tell application "Finder" to set filelist to name of every file of sourceFolder
set selectedFiles to choose from list filelist with multiple selections allowed
if selectedFiles is false then return
repeat with aFile in selectedFiles
tell application "Finder" to open file aFile of sourceFolder
end repeat