Re: Get a list of applications
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.