New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Ľ Advice and insight from world-class Apple enthusiasts Ľ Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

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


Post Reply New Thread Subscribe

 
Thread Tools
suelange

 
Member Since: Oct 03, 2012
Posts: 3
suelange is on a distinguished road

suelange is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« formating 2nd SSD on macbook pro | How do you turn off the "p" button's function of pausing and playing audio »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Finder won't start laurag OS X - Operating System 5 04-13-2012 05:46 PM
Applescript help with serial port access ljimber OS X - Development and Darwin 0 06-24-2011 11:46 AM
How to Set Folder Permission / Locking in usb drive Er_bhambra Apple Notebooks 3 10-18-2010 03:45 PM
help needed to link up buttons on HUD Window to Applescript nick_harambee OS X - Development and Darwin 0 09-30-2010 08:26 AM
[ANN] New comprehensive AppleScript book hanaan OS X - Development and Darwin 0 11-06-2004 07:28 PM

All times are GMT -4. The time now is 02:21 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?