[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GScript BASIC 1.2 uploaded
In article
<fb8b5f85-88b3-4d71-8e0e-ff7ea8322fb1@25g2000prz.googlegroups.com>,
limtc <thyechean@gmail.com> wrote:
> > Delightful! Here's a small change people might find appealing: In
> > index.html, I replaced the input text field
> >
> > <input id="file" type="text" size="30">
> >
> > with a selection list
> >
> > <select id="file" onChange="run(this.options[this.selectedIndex].value)">
> > <option value="ball">ball</option>
> > <option value="colors">colors</option>
> > <option value="commands">commands</option>
> > <option value="demo">demo</option>
> > <option value="gs">gs</option>
> > <option value="gscolors">gscolors</option>
> > <option value="gspics">gspics</option>
> > <option value="home">home</option>
> > <option value="lores">lores</option>
> > <option value="readme">readme</option>
> > <option value="ufo">ufo</option>
> > </select>
> Thinking of doing this too... convenient. But how does a user key in
> their own script name when he writes a new script? Any idea?
I'd just modify the list. An alternative might be to keep the field and
have the selection update it. I couldn't find a clean way to glob the
scripts directory, but it appears possible.
BTW, <http://virtualgs.larwe.com/gsbasic/> asks for names, but it
doesn't list the names of the available scripts.
--
John B. Matthews
trashgod at gmail dot com
home dot woh dot rr dot com slash jbmatthews