[MWForum]-tools-.txt file questions
Jeff Knope
mwforum@lists.mathcats.com
Wed, 16 Feb 2005 19:20:41 -0800
This is a multi-part message in MIME format.
------=_NextPart_000_0019_01C5145C.9ACFE5F0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Hi,
These are really questions for Shawn (I think), but they're also part of =
the current forum topic, so I'll ask them through the forum.
I find that I already have a -tools-.txt file in the Micro Worlds Pro =
directory. It appears to be the tools for making projects web-ready =
(?). It's contents is the following:
to installedtools?
askl "prim [announce [Tools have been integrated correctly.]]
end
object "html
to mwhtml :name
let [addr malloc 10000 start :addr
w askr-current-project [nth 0 :<projectsize>]
h askr-current-project [nth 1 :<projectsize>]
compress? askr-current-project [:<compress?>]
filename word askr-current-project [:<name>] ifelse :compress?=20
["|.mwz"|]["|.mw2"|]]
hprint "|<HTML>|
hprint "|<HEAD>|
hprint "|<META NAME=3D"keywords" CONTENT=3D"MW Web Player">|
hinsert "|<TITLE>| hinsert askr-current-project [:<name>]
hinsert "|</TITLE>|
hprint "|</HEAD>|
hprint "|<BODY>|
hprint "|<DIV ALIGN=3D"center">|
hinsert "|<OBJECT classid=3D"CLSID:D467AA06-E4F1-454C-B08C-916996C09579" =
width=3D|
hinsert :w hinsert "| height=3D| hinsert :h hprint "|>|
hinsert "| <PARAM name=3D"URL" value=3D"| hinsert :filename hprint "|>|
hinsert "| <EMBED src=3D"| hinsert :filename
hinsert "| type=3D"application/x-mw2-plugin"|
hinsert @ "sg_plug_location
hinsert "| width=3D| hinsert :w hinsert "| height=3D| hinsert :h hinsert =
"|>|
hprint "|</EMBED>|
hprint "|</OBJECT>|
hprint "|</DIV>|
hprint "|</BODY>|
hprint "|</HTML>|
memorytofile :name :start diff :addr :start
free :start
end
I've never noticed this file before. Is it supposed to be there? =
Should I keep it? If I want another -tools-.txt file without destroying =
this one, is that possible? Are procedures loaded this way subject to =
being removed once loaded? Is there any way to have a -tools-.txt file =
loaded into some projects but not others? Is it possible to use this =
method to emulate the old bury command, isolating some procedures from =
global management actions?
Thanks,
Jeff Knope
------=_NextPart_000_0019_01C5145C.9ACFE5F0
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252"><BASE=20
href=3D"file://C:\Program Files\Common Files\Microsoft =
Shared\Stationery\">
<STYLE></STYLE>
<META content=3D"MSHTML 6.00.2900.2604" name=3DGENERATOR></HEAD>
<BODY background=3D"">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>These are really questions for Shawn (I think), =
but they're also=20
part of the current forum topic, so I'll ask them through the=20
forum.</DIV>
<DIV> </DIV>
<DIV>I find that I already have a <STRONG>-tools-.txt</STRONG> file in =
the Micro=20
Worlds Pro directory. It appears to be the tools for making =
projects=20
web-ready (?). It's contents is the following:</DIV>
<DIV> </DIV>
<DIV><FONT color=3D#000080>to installedtools?<BR>askl "prim [announce =
[Tools have=20
been integrated correctly.]]<BR>end</FONT></DIV>
<DIV><FONT color=3D#000080></FONT> </DIV>
<DIV><FONT color=3D#000080>object "html</FONT></DIV>
<DIV><FONT color=3D#000080></FONT> </DIV>
<DIV><FONT color=3D#000080>to mwhtml :name<BR>let [addr malloc 10000 =
start=20
:addr<BR> w askr-current-project [nth 0=20
:<projectsize>]<BR> h askr-current-project =
[nth 1=20
:<projectsize>]<BR> compress? =
askr-current-project=20
[:<compress?>]<BR> filename word=20
askr-current-project [:<name>] ifelse :compress?=20
<BR> &nb=
sp; &nbs=
p;  =
; =20
["|.mwz"|]["|.mw2"|]]<BR>hprint "|<HTML>|<BR>hprint=20
"|<HEAD>|<BR>hprint "|<META NAME=3D"keywords" CONTENT=3D"MW Web =
Player">|<BR>hinsert "|<TITLE>| hinsert askr-current-project=20
[:<name>]<BR>hinsert "|</TITLE>|<BR>hprint=20
"|</HEAD>|<BR>hprint "|<BODY>|<BR>hprint "|<DIV=20
ALIGN=3D"center">|<BR>hinsert "|<OBJECT=20
classid=3D"CLSID:D467AA06-E4F1-454C-B08C-916996C09579" =
width=3D|<BR>hinsert :w=20
hinsert "| height=3D| hinsert :h hprint "|>|<BR>hinsert "| =
<PARAM=20
name=3D"URL" value=3D"| hinsert :filename hprint "|>|<BR>hinsert =
"| =20
<EMBED src=3D"| hinsert :filename<BR>hinsert "|=20
type=3D"application/x-mw2-plugin"|<BR>hinsert @ =
"sg_plug_location<BR>hinsert "|=20
width=3D| hinsert :w hinsert "| height=3D| hinsert :h hinsert =
"|>|<BR>hprint=20
"|</EMBED>|<BR>hprint "|</OBJECT>|<BR>hprint=20
"|</DIV>|<BR>hprint "|</BODY>|<BR>hprint=20
"|</HTML>|<BR>memorytofile :name :start diff :addr :start<BR>free=20
:start<BR>end</FONT></DIV>
<DIV><FONT color=3D#000080></FONT> </DIV>
<DIV>I've never noticed this file before. Is it supposed to be=20
there? Should I keep it? If I want another =
<STRONG>-tools-.txt=20
</STRONG>file without destroying this one, is that possible? Are=20
procedures loaded this way subject to being removed once loaded? =
Is there=20
any way to have a <STRONG>-tools-.txt</STRONG> file loaded into =
some=20
projects but not others? Is it possible to use this method to =
emulate the=20
old <STRONG>bury</STRONG> command, isolating some procedures from global =
management actions?</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>Jeff Knope</DIV></BODY></HTML>
------=_NextPart_000_0019_01C5145C.9ACFE5F0--