• 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: Scripting Components Version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Components Version


  • Subject: Re: Scripting Components Version
  • From: Ehsan Saffari <email@hidden>
  • Date: Mon, 16 Apr 2001 13:44:51 -0600

On 16/04/2001 10:23,"Bourque, Jason" <email@hidden> wrote:

>Any advise how to check the version of AppleScript installed and versions of
osax?

to get AppleScript Version:
set ASV to version --> 1.3.7

--to get installed OSAXen versions, here's one way:

global mList
to checkAdditionsVersion()
set mList to {}
set thePath to (path to scripting additions as text)
set OSAXen to list folder thePath without invisibles
repeat with aFile in OSAXen
set theFileInfo to info for (thePath & aFile)
if folder of theFileInfo is not true then
tell application "Finder" to set sv to short version of theFileInfo
set end of mList to aFile & " VERSION " & sv
end if
end repeat
end checkAdditionsVersion

my checkAdditionsVersion()

-->{
"AGStart VERSION 1.0",
"Apple Data Detectors Scripting VERSION 1.0.2",
"Desktop Printer Manager VERSION 1.0",
"FileSharing Commands VERSION 8.0",
"Keyboard Addition VERSION 8.1",
"MonitorDepth VERSION 1.0",
"Network Setup Scripting VERSION 1.0.2",
"Remote Access Commands VERSION 3.1.3",
"Standard Additions VERSION 1.3.7",
"URL Access Scripting VERSION 1.0.1",
}


  • Prev by Date: Re: Ping OSAX
  • Next by Date: Re: Coerce String to Handler?
  • Previous by thread: Re: Scripting Components Version
  • Next by thread: Re: Scripting Components Version
  • Index(es):
    • Date
    • Thread