[jawsscripts] Obtaining a list of installed Jaws versions

  • From: "Paul Magill" <magills@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 8 Jul 2016 14:35:07 +1000

Hi all,
 

I am trying to get a list of the installed versions of Jaws from within a
script.

 

I tried the below:

 

LET JawsFolder = GetJAWSDirectory ()

LET CurrentVersion = StringSegment (JawsFolder, "\\", -1) ; gave me 15.0

let JawsFolder = StringReplaceSubstrings (JawsFolder, CurrentVersion, "*.*")


let JawsVersionList = FileNameList (JawsFolder, "|")  

 

which partially worked, in that the list had the basic version numbers,
13|14|15, but with the decimal and what follows clipped off.

 

I don't think that just appending the .0 is suitable, as there may later be
a version, as there has been in the past, where the path contains a .3 or .5
etc.

 

Is there another way of doing this, so I get the full version number as in
the folder path, such as 13.0|14.0|15.0 etc.

 

With thanks in advance,

Paul from Australia

 

 

 

 

 

 

 

 

 

 



__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: