Re: A squeak from the Peanut Gallery

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 8 Aug 2000, at 11:01, Travis Beaty wrote:

<snip>

> Travis Beaty
> Claude, Texas
> I would like to make a motion as far as the
> project goals are concerned, though.  It may be a
> good idea to have a goal as follows.  "We will
> attempt to maintain the simplicity of use which
> Mr. Cuny has thusfar delivered to it, in keeping
> with the simple nature of the Euphoria
> language."  Or something like that ... I'm not
> the best orator in the world.  Basically, work on
> the idea that the end user will have less
> programming experience than you.
>
> This I ask for those out there like me who are
> fifteen years behind the "C" crowd.  I'm
> currently learning C++, so I understand a tad-bit
> of the Windows code, but not near enough to
> access any dll's.  I'm sure that there are many
> out there like me, perhaps quite a few.  Hence
> the original appeal of win32lib.ew -- I could
> just read the documentation and pop open a
> window, without having to worry about getting my
> hand stuck in the gears.

I second this motion with all my energy. If i am writing MyProgram that needs a
window, then i want a basic window to pop up, i don't wish to write a lot of
window
code, i wanna keep writing MyProgram. Simple software switches to add a command
input line, or change the color, or such would be nice too.

Examples:

window -- returns a random window name, opens plain window that i can print to
window <name-Mailbox> -- opens a window named Mailbox
window <scroll-horiz> -- opens a default window that scrolls
window <scroll-horiz buffer-500lines> -- same, with the scrollback limit set to
500 lines
window <color-black> -- opens a black window
window <color-rgb-FE0203> -- opens a rusty colored window smile
window <isopen-name-Mailbox#1> -- is that Mailbox#1 window open?
window <name-Mailbox#1><color-green> <inputbox-<color-white><length-200><height-
2lines>><colortext-red><print-center-"You have no Mail"> -- does what it says it
does
to the Mailbox#1 window smile

In other words, have win32lib (or a frontend to it) make a default that i can
override with
plain commands, like this, from working code:

    window -ak @ [ $+ [ %sockname ] ]

"window" is the command,
"a" is activate it
"k" is hide the special @ in the title so i don't see it
%sockname is the var holding the name i gave the winsock connection when i did
this:

 /sockopen Newsspider [ $+ [ %Newsspider.num ] ] %Newsspider.ip  80

So i get a connection and a window named Newsspider1, displaying the contents of
http://abcnews.go.com/wire/world/ on their port 80:

-
 http://abcnews.go.com/wire/World/reuters20000807_2285.html
 British cathedral signs up for Harry Potter film <Date> Aug. 7, 5:41 p.m.
 -
etc, etc, etc,, but *heavily* filtered to show only the headline and url, and i
click on the
url to open IE, which is also proxied and heavily filtered. smile

Kat,
wants to deal in details only as necessary.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu