• 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: Yvan KOENIG <email@hidden>
  • Date: Sat, 29 Apr 2017 18:40:19 +0200

The "modern" library are supposed to be saved as packages : fakeLib.scptd

In such an item I stored the handlers : decoupe, recolle, remplace
I stored it in "/Library/Script Libraries" but you may store it in "~/Library/Script Libraries/"

Here is a sample script showing two ways to to trigger the handlers.


use myLib : script "fakeLib"
use scripting additions

set theString to "Pour qui sont ces serpents qui sifflent sur vos tĂȘtes"
# 1st way
set aList to myLib's decoupe(theString, "vos")
log aList

# 2nd way
tell myLib
set theString to recolle(aList, "NOS")
end tell


Yvan KOENIG running Sierra 10.12.4 in French (VALLAURIS, France) samedi 29 avril 2017 18:40:00



 _______________________________________________
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: Jean-Christophe Helary <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>)

  • Prev by Date: Re: Copying the path of files selected in Finder
  • Next by Date: 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