Re: OPO Mac: DoScript() external

From: Mikkel Hippe Brun <hippe_at_integrator.dk>
Date: 1997/04/17
Message-ID: <5j5od2$ko3$1_at_news.uni-c.dk>#1/1


It worked for us when we put DoScript into the OPO folder.

Declarations:
DECLARE FUNCTION DoScript LIB "doScript" (BYVAL vText AS String) AS Long

An example script that works:
theScript = "tell application " + dq + "Netscape NavigatorĀ 2.02" + dq + chr(13) & &

" activate " + chr(13) & &
"open file " + dq + vHtmlDokument + dq + chr(13) & &

                  " end tell"

result = DoScript(theScript)
Mikkel Hippe Brun          hippe_at_integrator.dk
Integrator ApS             http://www.integrator.dk
Received on Thu Apr 17 1997 - 00:00:00 CEST

Original text of this message