Oh, now I see what you're really asking.
No, it returns a string, so you have to poke around a bit to get at the version info.
If you know the format it should be simple enough.

Director itself (MX), for instance, returns this:


theApp = baFindApp("dir")
put baFileVersion(theApp)

-- "9.0r383"



----- Original Message ----- 
From: "Mendelsohn, Michael" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 26, 2004 9:17 PM
Subject: RE: <lingo-l> Detecting Media Player Version with Lingo


> Bertil, cool method!  Is that always going to give a number?  Is there a
> chance it might return something like "A.43534.B"?
>
> - Michael M.
>
>
>
>
>
> With Buddy you can do this:
>
> theApp = baFindApp("wmv")
> put baFileVersion(theApp)
>
> -- "9.00.00.2980"
>
>
> [To remove yourself from this list, or to change to digest mode, go to 
> http://www.penworks.com/lingo-l.cgi  To post messages to
the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with
programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to