Hi all,
I just upgraded my OS from Tiger to Snow Leopard and now my Applescripts are not working. Apparently syntax has changed. First off, is there a place that lists new syntax rules when Apple upgrades their OS?
Second, below is the current script I'm having trouble with. Any hints would be greatly appreciated.
choose folder with prompt "Select an issue to create folders"
set issueFolder to result
tell application "Finder"
select every item of issueFolder
set issueCount to count of result
repeat with j from 1 to issueCount
make folder in item j of issueFolder
set name of folder "untitled folder" in item j of issueFolder to "originalFiles"
make folder in item j of issueFolder
set name of folder "untitled folder" in item j of issueFolder to "corrections"
end repeat
end tell
It's giving me an error on the "make folder in item j of issueFolder" line telling me I don't have permission to create a folder here.
I checked the read/write permissions and all users have both read and write permission for all the folders in question.
Thanks for any help.
I just upgraded my OS from Tiger to Snow Leopard and now my Applescripts are not working. Apparently syntax has changed. First off, is there a place that lists new syntax rules when Apple upgrades their OS?
Second, below is the current script I'm having trouble with. Any hints would be greatly appreciated.
choose folder with prompt "Select an issue to create folders"
set issueFolder to result
tell application "Finder"
select every item of issueFolder
set issueCount to count of result
repeat with j from 1 to issueCount
make folder in item j of issueFolder
set name of folder "untitled folder" in item j of issueFolder to "originalFiles"
make folder in item j of issueFolder
set name of folder "untitled folder" in item j of issueFolder to "corrections"
end repeat
end tell
It's giving me an error on the "make folder in item j of issueFolder" line telling me I don't have permission to create a folder here.
I checked the read/write permissions and all users have both read and write permission for all the folders in question.
Thanks for any help.