Skip navigation

AppleScript error -10006

907 Views 1 Reply Latest reply: Mar 8, 2013 12:20 PM by John Maisey RSS
AstraPoint Calculating status...
Currently Being Moderated
Mar 8, 2013 7:37 AM

I need a little help.  I get an error while running this script:

 

=====

with timeout of 10 seconds

 

          tell application "Finder"

 

  activate

 

                    duplicate file "DO NOT REMOVE.rtf" of folder "File Backups" of disk "Macintosh HD" to folder "DO NOT REMOVE" of disk "Time Machine" replacing yes

 

          end tell

 

end timeout

=====

 

the error message I receive is:

 

=====

error "Finder got an error: Can’t set folder \"DO NOT REMOVE\" of disk \"Time Machine\" to disk \"Time Machine\"." number -10006 from folder "DO NOT REMOVE" of disk "Time Machine"

=====

 

I cannot find any information on this error type.  I'm running Mac OS X 10.8.2.

 

Thanks.


  • John Maisey Level 5 Level 5 (6,870 points)
    Currently Being Moderated
    Mar 8, 2013 12:20 PM (in response to AstraPoint)

    Hi,

     

    That error indicates that folder "DO NOT REMOVE" of disk "Time Machine" does not exist.  Have you checked that path is already present and that your user can write to it?

     

    John M

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.