Thanks alot for the ideas; will try that. Best roy.

- original message -
Subject:        Re: getting the version of the active application
From:   Darren Paskell <[email protected]>
Date:           08/12/2009 5:44 am

Further to Steve's comments, You can also obtain a process object from
any valid window object. ClientInformation.ApplicationProcess won't
work for global scripts. To determine the product version for the
currently focused application, you could try something like

Speak ActiveWindow.Process.ProductVersion

Obviously the above is not recommended as there is now bulletproofing
built in, but hopefully you get the idea.

Darren

On 08/12/2009, Stephen Clower <[email protected]> wrote:
> Roy,
>
> The Process object should hold everything that you need. Some examples
> that may help you get what you're after include:
>
> Set p = ClientInformation.ApplicationProcess  ' This sets p to an object
> representing the process of the application that launched the script.
> Print p.ModuleName
> Print p.CompanyName
> Print p.FileVersion
> '...etc
>
> See the Process object in the WE scripting manual for a complete list of
> available properties.
>
> Best regards,
> Steve
>
>
> On 12/7/2009 6:29 PM, Roy Shtupler wrote:
>> hi listers
>> what's the best way of getting the version number (major and minor)
>> for the active application.
>> thanks alot
>> Roy.
>
>

Reply via email to