Hey guys. I have written an Applescript that backs up my iTunes Library info to my other hard drive. I planned to compile this as an app and have it run during every startup. I have the following problem- the code works fine and accomplishes the desired task when run from the compiler, but when saved as a run-only app, I get an error message (error -1344). I haven't been able to figure out what is wrong, and I haven't found out what the error code means, even after searching Google. The code at this point is this:
tell application "Finder"
if file "iTunes 4 Music Library" of folder "backup" of disk "smith" exists then delete file "iTunes 4 Music Library" of folder "backup" of disk "smith"
if file "iTunes Music Library.xml" of folder "backup" of disk "smith" exists then delete file "iTunes Music Library.xml" of folder "backup" of disk "smith"
copy file "iTunes 4 Music Library" of folder "itunes" of folder "music" of folder "adampotts" of folder "users" of disk "neo" to folder "backup" of disk "Smith"
copy file "iTunes Music Library.xml" of folder "itunes" of folder "music" of folder "adampotts" of folder "users" of disk "neo" to folder "backup" of disk "Smith"
end tell
Any help you guys could offer would be great, especially Taha and/or mike273. Thanks guys!
-godpunk
Aqua-Soft Forums
