home *** CD-ROM | disk | FTP | other *** search
- /* $VER: FW_OpenMathScript.ms 1.0 (18.08.96)
- **
- **
- */
-
- options results
-
- fw=address()
-
- call SetClip("MS_FW",fw)
-
- if ~show('p',"MATHSCRIPT.1") then
- do
- if ~exists("MathScript:MathScript") then
- do
- address "FINALW.1"
- showmessage 1 1 '"MathScript could not be found!" "It has not been installed correctly!" "" "Ok" "" ""'
- exit
- end
-
- address command "run MathScript:MathScript"
- address command "WaitForPort MATHSCRIPT.1"
- end
-
-
- import=FALSE
-
- address value fw
- currentobject
- id=result
- if id~=0 then
- do
- getobjecttype id
- if result=1 then
- do
- copy
- import=TRUE
- end
- end
-
- status fontsize
- pt=result
-
-
- address "MATHSCRIPT.1"
-
- clear
-
- 'setgeneralprefs item="fontsize"' pt
-
- show
-
- screentofront
-
- if import=TRUE then
- do
- importclip
- end
-
- exit
-
-
-
-
-