• 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: Copying the path of files selected in Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying the path of files selected in Finder


  • Subject: Re: Copying the path of files selected in Finder
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Sun, 30 Apr 2017 09:31:18 +0900


On Apr 30, 2017, at 9:18, Christopher Stone <email@hidden> wrote:

On 04/29/2017, at 18:57, Jean-Christophe Helary <email@hidden> wrote:
use myLib : script "fakeLib"

Is there a reason for this syntax ?


Hey Jean-Christophe,

Of course.

Can't use "fakeLib" work equally well ?

No.  That's completely incorrect syntax.

Sorry, I meant use script "fakeLib" (note to self: never write a mail to a list before the morning coffee has made it's way to the whole nervous system...)

So I guess using use myLib : script "fakeLib"
allows to call the handler through that myLib instead of of script "fakeLib" which is way longer, right? (I see, it's on page 269 of my ASLG, using an identifier to make it more convenient to call the resource).

I thought the terms used by the library were automatically imported with the "use" statement and there was no need to refer to it into the script.

This is true of applications – not script libraries.
You are required to use a reference to the library.

Thank you. And, is there a reference to that in the ASLG?

Jean-Christophe 
 _______________________________________________
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: Copying the path of files selected in Finder
      • From: Christopher Stone <email@hidden>
References: 
 >Copying the path of files selected in Finder (From: Jean-Christophe Helary <email@hidden>)
 >Re: Copying the path of files selected in Finder (From: Yvan KOENIG <email@hidden>)
 >Re: Copying the path of files selected in Finder (From: Jean-Christophe Helary <email@hidden>)
 >Re: Copying the path of files selected in Finder (From: Yvan KOENIG <email@hidden>)
 >Re: Copying the path of files selected in Finder (From: Jean-Christophe Helary <email@hidden>)
 >Re: Copying the path of files selected in Finder (From: Yvan KOENIG <email@hidden>)
 >Re: Copying the path of files selected in Finder (From: Jean-Christophe Helary <email@hidden>)
 >Re: Copying the path of files selected in Finder (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Sorting characters of the text - script doesn't work as expected
  • Next by Date: Re: display as text anomaly
  • Previous by thread: Re: Copying the path of files selected in Finder
  • Next by thread: Re: Copying the path of files selected in Finder
  • Index(es):
    • Date
    • Thread