• 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: John Delacour <email@hidden>
  • Date: Wed, 9 Jul 2003 08:11:11 +0100
  • Mac-eudora-version: 6.0a26

At 10:18 pm -0700 8/7/03, Tom Jones wrote:

Is there some way
to get the short version which shows in the finder, not the version
which shows in the GetInfo?

Here is the syntax I used --

set AppLoc to "/Applications" -- make it a Unix path
set AppLoc to (POSIX file AppLoc) as Unicode text

tell application "Finder"
get {name, version} of every application file of folder AppLoc
end tell

It works here, though the first time I ran it it left the version list as a reference. I then did '{version, name}' and it worked, reverted and it worked thereafter.

set fU to "/Applications/Utilities/"
set f to fU as POSIX file as Unicode text
tell application "Finder"
{name, version} of application files in entire contents of folder f
end tell

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

References: 
 >Re: Get a list of applications (From: Tom Jones <email@hidden>)

  • Prev by Date: Re: applescript url
  • Next by Date: Revolution buys MetaCard
  • Previous by thread: Re: Get a list of applications
  • Next by thread: Re: Get a list of applications
  • Index(es):
    • Date
    • Thread