• 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: lists as parameters between two scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lists as parameters between two scripts


  • Subject: Re: lists as parameters between two scripts
  • From: Emmanuel <email@hidden>
  • Date: Fri, 27 Jul 2001 11:59:39 +0200

At 7:49 +0200 27/07/01, email@hidden wrote:
>
> Is it possible to pass a list(of folders on a disk) as a parameter
>from one script to another using program linking only ?

This is one of the main properties of AppleScript: it is able to carry
references to / lists of things produced by applications which were not
even thought of when AS was designed. This is performed thru a sort of
universal description scheme for objects and actions.

For instance, to carry the "startup disk", a concept proprietary to Finder,
AppleScript codes something like :
fndr (for "Finder") - sdsk (for "startup disk").

Of course, other apps won't in general be able to cope with such
proprietary references: you'll need a Finder at the other end to understand
and use them.

For instance, unless you benefit of special coercions installed by
non-Apple scripting additions (or apps), the "choose from list theList ..."
should not work: you've got to create a list suitable for "choose from
list". Check the dictionary of "choose from list" (I suppose it requires a
list of strings). Only the Finder may be able to manage theList.

HTH, SIIDN
Emmanuel


References: 
 >lists as parameters between two scripts (From: email@hidden)

  • Prev by Date: Re: Naming aliases (was "Newbie question here...")
  • Next by Date: Re: Renaming Files
  • Previous by thread: lists as parameters between two scripts
  • Next by thread: scripting icon's
  • Index(es):
    • Date
    • Thread