Applescript Error: You Don't Have Permission...

Joined
Oct 3, 2012
Messages
1
Reaction score
0
Points
1
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.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top