If I add use framework "Foundation" to an applescript, do shell script no longer works. I get an error "Syntax Error, Expected end of line, etc. but found identifier." with 'shell' highlighted in the script. If I remove the 'use framework' line or the 'use framework' line, the script works again.
Any thoughts?
use framework "Foundation"
do shell script "basename a/b/c/d/file.ext" -- fails, syntax error.
thanks.
Any thoughts?
use framework "Foundation"
do shell script "basename a/b/c/d/file.ext" -- fails, syntax error.
thanks.