[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>&nbsp;</DIV>
<DIV>These&nbsp;are really questions for Shawn (I think), =
but&nbsp;they're also=20
part of&nbsp;the current forum topic, so I'll ask&nbsp;them through the=20
forum.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I find that I already have a <STRONG>-tools-.txt</STRONG> file in =
the Micro=20
Worlds Pro directory.&nbsp; It appears to be the tools for making =
projects=20
web-ready (?).&nbsp; It's contents is the following:</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT color=3D#000080>object "html</FONT></DIV>
<DIV><FONT color=3D#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000080>to mwhtml :name<BR>let [addr malloc 10000 =
start=20
:addr<BR>&nbsp;&nbsp;&nbsp;&nbsp; w askr-current-project [nth 0=20
:&lt;projectsize&gt;]<BR>&nbsp;&nbsp;&nbsp;&nbsp; h askr-current-project =
[nth 1=20
:&lt;projectsize&gt;]<BR>&nbsp;&nbsp;&nbsp;&nbsp; compress? =
askr-current-project=20
[:&lt;compress?&gt;]<BR>&nbsp;&nbsp;&nbsp;&nbsp; filename word=20
askr-current-project [:&lt;name&gt;] ifelse :compress?=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
["|.mwz"|]["|.mw2"|]]<BR>hprint&nbsp; "|&lt;HTML&gt;|<BR>hprint=20
"|&lt;HEAD&gt;|<BR>hprint "|&lt;META NAME=3D"keywords" CONTENT=3D"MW Web =

Player"&gt;|<BR>hinsert "|&lt;TITLE&gt;| hinsert askr-current-project=20
[:&lt;name&gt;]<BR>hinsert "|&lt;/TITLE&gt;|<BR>hprint=20
"|&lt;/HEAD&gt;|<BR>hprint "|&lt;BODY&gt;|<BR>hprint "|&lt;DIV=20
ALIGN=3D"center"&gt;|<BR>hinsert "|&lt;OBJECT=20
classid=3D"CLSID:D467AA06-E4F1-454C-B08C-916996C09579" =
width=3D|<BR>hinsert :w=20
hinsert "| height=3D| hinsert :h hprint "|&gt;|<BR>hinsert "|&nbsp; =
&lt;PARAM=20
name=3D"URL" value=3D"| hinsert :filename hprint "|&gt;|<BR>hinsert =
"|&nbsp;=20
&lt;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 =
"|&gt;|<BR>hprint=20
"|&lt;/EMBED&gt;|<BR>hprint "|&lt;/OBJECT&gt;|<BR>hprint=20
"|&lt;/DIV&gt;|<BR>hprint "|&lt;/BODY&gt;|<BR>hprint=20
"|&lt;/HTML&gt;|<BR>memorytofile :name :start diff :addr :start<BR>free=20
:start<BR>end</FONT></DIV>
<DIV><FONT color=3D#000080></FONT>&nbsp;</DIV>
<DIV>I've never noticed this file before.&nbsp; Is it supposed to be=20
there?&nbsp; Should I keep it?&nbsp; If I want another =
<STRONG>-tools-.txt=20
</STRONG>file without destroying this one, is that possible?&nbsp; Are=20
procedures loaded this way subject to being removed once loaded?&nbsp; =
Is there=20
any way to have&nbsp;a <STRONG>-tools-.txt</STRONG> file loaded into =
some=20
projects but not others?&nbsp; 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>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Jeff Knope</DIV></BODY></HTML>

------=_NextPart_000_0019_01C5145C.9ACFE5F0--