• 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: Getting dictionary of app (was:Getting label from a record (Reasons))
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting dictionary of app (was:Getting label from a record (Reasons))


  • Subject: Re: Getting dictionary of app (was:Getting label from a record (Reasons))
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 20 Nov 2003 09:24:29 -0800

On 11/20/03 5:52 AM, "Emmanuel" <email@hidden> wrote:

> Oh, maybe I should have told you before. You may want to try that:
>
> ----------------------------
> dictionary of file (alias "Macintosh
> HD:System:Library:CoreServices:Finder.app:") as list
> ----------------------------
>
> This returns the dictionary under a structured form, rather painful to parse,
> but - well, the content is here.

I get:

--> {dictionary of file "PB G5 HD
Panther:System:Library:CoreServices:Finder.app:"}


It compiles, it runs, but I can't do much with the result. BTW, I get the
same result omitting the term 'alias': one file is enough:


dictionary of file ((path to library folder from system domain as
Unicode text) & "CoreServices:Finder.app:") as list
--> {dictionary of file "PB G5 HD
Panther:System:Library:CoreServices:Finder.app:"}

And:

dictionary of alias ((path to library folder from system domain as Unicode
text) & "CoreServices:Finder.app:") as list
--> {dictionary of alias "PB G5 HD
Panther:System:Library:CoreServices:Finder.app:"}


Without 'as list' I get an error, although it compiles fine.

How do get this "structured form"? Do you have to be in Smile itself? I do
have Satimage osax installed, but 'dictionary' does not appear to be defined
there nor in any other osax. It appears to be an AppleScript term. Does
anyone know what it is?

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Getting dictionary of app (was:Getting label from a record (Reasons))
      • From: Michelle Steiner <email@hidden>
    • Re: Getting dictionary of app (was:Getting label from a record (Reasons))
      • From: Emmanuel <email@hidden>
    • Re: Getting dictionary of app (was:Getting label from a record (Reasons))
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Getting dictionary of app (was:Getting label from a record (Reasons)) (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: set variable to a command?
  • Next by Date: (no subject)
  • Previous by thread: Re: Getting dictionary of app (was:Getting label from a record (Reasons))
  • Next by thread: Re: Getting dictionary of app (was:Getting label from a record (Reasons))
  • Index(es):
    • Date
    • Thread