• 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: Finder "duplicate" requirements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder "duplicate" requirements


  • Subject: Re: Finder "duplicate" requirements
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 30 Jun 2015 10:07:32 +1000

On 30 Jun 2015, at 2:21 am, Yvan KOENIG <email@hidden> wrote:
>
> POSIX file belongs to the Osax Standard Additions so it's not supposed to be called in a tell application block.

Well yes and no. 'POSIX file' is a bit different because it's a class, not a command.

The other point is that it's not really a "rule" in the strict sense, at least at this stage. That's because if you do send a command to the wrong target, the resulting privilege violation error should be picked up and the command automatically sent again to the correct target.

In terms of this thread, I think the important point is that although using some commands inside tell blocks is a bad idea and will generate privilege errors that then have to be corrected, there's reason to think they should just fail silently as we are seeing here.

That notwithstanding, the advice of using most things scripting-addition-related outside tell blocks is good.


--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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: Finder "duplicate" requirements
      • From: Deivy Petrescu <email@hidden>
    • Re: Finder "duplicate" requirements
      • From: Shane Stanley <email@hidden>
References: 
 >Finder "duplicate" requirements (From: Jean-Christophe Helary <email@hidden>)
 >Re: Finder "duplicate" requirements (From: Shane Stanley <email@hidden>)
 >Re: Finder "duplicate" requirements (From: Christopher Stone <email@hidden>)
 >Re: Finder "duplicate" requirements (From: Deivy Petrescu <email@hidden>)
 >Re: Finder "duplicate" requirements (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: Finder "duplicate" requirements
  • Next by Date: Re: Finder "duplicate" requirements
  • Previous by thread: Re: Finder "duplicate" requirements
  • Next by thread: Re: Finder "duplicate" requirements
  • Index(es):
    • Date
    • Thread