• 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: Get a list of applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get a list of applications


  • Subject: Re: Get a list of applications
  • From: Kai <email@hidden>
  • Date: Mon, 07 Jul 2003 01:27:56 +0100

on Mon, 7 Jul 2003 00:04:52 +0100, John Delacour wrote:

> At 11:34 pm +0100 6/7/03, Kai wrote:
>
>> This works in OS 9 (all one line):
>>
>> ===================================================================
>>
>> tell application "Finder" to set appList to name of (a reference to entire
>> contents of (path to "apps"))'s application files
>> ===================================================================
>>
>> (The Finder in OS X can still be a bit cranky - so it may not work there.)
>
> path to "apps" ought to work but it gives a silly error.
>
> "Folder does not exist, and you don't have access privileges to create it."
>
> You need to say
> path to "apps" from local domain

Yeah - you would in X.

> I don't know why you need to use 'a reference to'...

Because OMM it works without it sometimes (but not always) - and works
consistently *with* it.

> ...and all those '''sss.

I counted one. You sure your eyesight's not going, John? :-p

> After all this does work in OS X -- I must have done something wrong the first
time -- it's quicker than the loop too:

It usually is.

--
Kai
_______________________________________________
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.

  • Prev by Date: Re: Get a list of applications
  • Next by Date: Re: Newbie blues (was Remove spaces)
  • Previous by thread: Re: Get a list of applications
  • Next by thread: Re: Get a list of applications
  • Index(es):
    • Date
    • Thread