I've got some AppleScript code in a short script someone asked me to edit:
repeat with i from 1 to nDirs
set impf to folder i of importFolder
my convertFolder(impf,exportFolder,userValue)
end repeat
Whenever I try to save it or compile it, though, the AppleScript editor tells me "Syntax error: expected end of line but found identifier" while pointing to the little 'i'. Is my syntax for the binding of impf incorrect? How can I get this script compiling?