«Turn an outline into a website
«I started to do the docs for new 4.1 menubar in this format.
«But had a new idea mid-stream.
«But this script will be useful someday.
«Maybe it's useful to your right now?
«Sat, Sep 21, 1996 at 10:21:50 AM by DW
on buildOutlineSite (adroutline, adrsite)
on dolevel (adrtable)
local (linetext, name, adrsub)
if defined (adrtable^)
new (tabletype, adrtable)
linetext = op.getlinetext ()
name = toys.innerCaseName (toys.dropNonAlphas (linetext))
adrsub = @adrtable^.[name]
if op.countSubs (1) == 0
if name != ""
new (wptexttype, adrsub)
op.go (right, 1)
op.go (left, 1)
if not op.go (down, 1)
«bundle «test code
«buildOutlineSite (@system.misc.menubar, @user.websites.frontier.menubar)
This page was last built on Sat, Aug 16, 1997 at 6:33:23 PM. You can download the current set of sample scripts from our FTP site. Dave