Re: Error -10000 for one user
Re: Error -10000 for one user
- Subject: Re: Error -10000 for one user
- From: Deivy Petrescu <email@hidden>
- Date: Tue, 12 Apr 2016 16:35:10 -0400
> On Apr 12, 2016, at 15:48 , RJay Hansen <email@hidden> wrote:
>
> I had the script I recently finished for uploading files to dropbox and sending an email, working for all my users. Then I was asked to make a small change to it. I added the change and testing had everything working correctly. I deployed it to my users and it’s working on all the machines but one. When the script has the Finder duplicate the chosen file to Dropbox it generates an error -10000 on this one machine. Here’s the pertinent part from the Log History:
>
> tell application "Finder"
> duplicate file (alias "Main-Storage:Comtech-Art:V:Vyve:201569 Vyve channel lineup cards (81):HOLD!!!!!:201569 Vyve Lineup Herington - KS.pdf") to "Macintosh HD:Users:corei7user:Dropbox: Blue"
> --> document file "201569 Vyve Lineup Herington - KS.pdf" of folder " Blue" of folder "Dropbox" of folder "rjay" of folder "Users" of startup disk
> --> error number -10000
>
> Result:
> error “Finder got an error: AppleEvent handler failed.” number -10000
> end tell
>
> I’m at a loss as to why this one Mac is throwing this error on this script while it’s working great on three other machines. A bit more information: The machine with the problem is running El Capitan. One of the machines the script works fine on is also running El Capitan and the other two (that it runs fine on) are running Yosemite.
>
> Does anyone have any suggestion as to what the cause of the problem may be? Any help is greatly appreciated. I can post the whole script if that would be helpful.
>
> Thanks!
> Jay
Try:
tell application "Finder"
duplicate file ("Main-Storage:Comtech-Art:V:Vyve:201569 Vyve channel lineup cards (81):HOLD!!!!!:201569 Vyve Lineup Herington - KS.pdf") to folder "Macintosh HD:Users:corei7user:Dropbox: Blue”
end
I removed alias and added folder
Deivy Petrescu
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden