bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bug-gnubg] Gammonline HTML Export


From: Øystein Johansen
Subject: RE: [Bug-gnubg] Gammonline HTML Export
Date: Fri, 27 Dec 2002 23:01:05 +0100

> To make use of it in the BBS, a user must open
>the file, view the source, and then copy the source to the Windows
>clipboard. Since the purpose is to make it a user-friendly option to
>post interesting things in the GoL BBS, why not have it automatically
>place the HTML code into the Windows clipboard so that it becomes a 2
>step process: 1) export to clipboard and 2) paste in BBS text area. To
>make sure the user knows what happened, when used it would open a small
>pop-up stating the HTML code was in the clipboard ready to be pasted in
>the BBS text area.

Yes, this was Jørn's idea when he wrote this code, and he mentioned in his
mail that fixing this was on his list. The (small) problem that makes it a bit
tricky, is that some of the functions utilised for making the output, takes a
file pointer as an argument. I see two solutions to this:

Rewrite all the functions that takes a file pointer as an argument and use a
string pointer instead.

-or-

Write a wrapper functions that first makes the file (as it does now), then
reopens the file and the clipboard, and copies the file content into the
clipboard. Then closes and deletes the file.

-Øystein





reply via email to

[Prev in Thread] Current Thread [Next in Thread]