Deepwinter wrote:
I tried this script but got the following error message
Couldn't create/complete project
bundle "/users/garry/Music/
Audiobook Builder/The Amber
Spyglass.abbuilder" (File exists?) -
Don't use it!
Any ideas,i dont know anything about applescript so i wouldn't know where to start but would really appreciate any help
Let’s look at the script:
Code:
set cmd1 to "mkdir " & quoted form of (projectPath)
set cmd2 to "mkdir " & quoted form of (projectPath & "/Files")
set cmd3 to "mkdir " & quoted form of (projectPath & "/Images")
try
do shell script cmd1
do shell script cmd2
do shell script cmd3
on error
display dialog "Couldn’t create/complete project bundle “" & projectPath & "” (File exists?) - Don’t use it!" buttons {"Cancel"} default button 1 with icon 2 giving up after 15
error number -128
end try
e
This means an error occurs with Shell’s
mkdir creating a directory which already exists. I think you have a “The Amber Spyglass.abbuilder” bundle in your destination folder, so delete it first. Then the script should work.
(These days my son and I are listening to „Das Bernsteinteleskop“, which is my localized version of the Amber Spyglass

)