• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Error -10000 for one user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error -10000 for one user


  • Subject: Re: Error -10000 for one user
  • From: Stan Cleveland <email@hidden>
  • Date: Thu, 14 Apr 2016 11:31:54 -0700

On Apr 14, 2016, at 03:33 AM, Yvan KOENIG <email@hidden> wrote:

Duplicate is in the Standard Suite, as well as delete, exists, make, move which apply to files.
Delete, move are also in Disk-Folder-File Suite but exists and make aren't.
So, with two functions matching your rule and two which don't it was not clear if duplicate belongs to one set or to the other one.
Your understanding is that it's normal that duplicate doesn't apply to files.
Mine was different. Maybe you are right, maybe you aren't but don't worry, I will live with this behavior.

Hi Yvan,

Your point (of dictionary inconsistency) is well taken. That's the norm, unfortunately.

However, System Events' scripting dictionary does tell exactly which commands will work with each class of object. For class 'disk item' and all of its subclasses, the command 'duplicate' is not listed. Here's the list for the 'file' class:

commands
The file class responds to the following commands:
Command
Description
do scriptExecute an OSA script.
do scriptExecute an OSA script. disk item
moveMove an object to a new location. disk item
openOpen a document. disk item


So the dictionary does tell the full story, but only in a way that requires digging and deduction.


Regards,
Stan C.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Error -10000 for one user
      • From: Yvan KOENIG <email@hidden>
References: 
 >Re: Error -10000 for one user (From: Steve Mills <email@hidden>)
 >Re: Error -10000 for one user (From: RJay Hansen <email@hidden>)
 >Re: Error -10000 for one user (From: Yvan KOENIG <email@hidden>)
 >Re: Error -10000 for one user (From: Stan Cleveland <email@hidden>)
 >Re: Error -10000 for one user (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: Error -10000 for one user
  • Next by Date: Re: Error -10000 for one user
  • Previous by thread: Re: Error -10000 for one user
  • Next by thread: Re: Error -10000 for one user
  • Index(es):
    • Date
    • Thread