At 07:06 AM 9/19/00, Mahmood Akhtar wrote:
>Hi Lingos!
>
>I am new to Lingo.
>I am using BuddyAPI extra to detect whether QT is installed in an IBM
>machine or not.
>And after it I want to install QT automatically if it is not installed.
>How I can do so?
>I tried to check in this way;
>
>on movieStart
>   put baVersion("qt3") into field "abc"
>end movieStart

Putting the result into a field will not tell you (or Lingo) whether 
anything is installed. You need to check the results of the return and act 
on those results (besides putting it into a field). There's a ready-made 
script called "Check QuickTime Version" at 
http://www.mediamacros.com/search.shtml that will return a 1 if QT needs to 
be installed.

You will also want to look into Lingo's 'open' command or Buddy API's 
baRunProgram() command to run the QT installer.



--
Mark A. Boyd
Keep-On-Learnin' :)


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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