> ====================================
> I am looking a tool that makes a paragraph of text put a box on out side
> the words like a table , but not HTML
> ====================================
> to add in my bat file
> Billy .......................... Thanks
Greetings Dr Red,
If I understand your question correctly then maybe something like the below will get you started. This is coded by typing as I do not know of any "tool" that will do this.
Also, I pick up these line from Timo Salmi's FAQ which is posted here on this news group every Monday. Have a look, great information there.
Note: All lines are indented 2 (two) spaces. Beware the word wrap devil!
I used XP3 for this.
::Start stuff
@echo off
echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ¿
echo ³hi all ³
echo ³ ³
echo ³GOTO Billy ³
echo ³ ³
echo ³ ==================================== ³
echo ³ I am looking a tool that makes a paragraph of text put a box on out side ³
echo ³ the words like a table , but not HTML ³
echo ³ ³
echo ³==================================== ³
echo ³ to add in my bat file ³
echo ³ ³
echo ³Billy .......................... Thanks ³
echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Ù
echo Press the Space Bar.
pause>nul
::End Stuff
> Dr Red typed the following on 7/9/2012 9:50 AM:
>> hi all
>> GOTO Billy
>> ====================================
>> I am looking a tool that makes a paragraph of text put a box on out side
>> the words like a table , but not HTML
>> ====================================
>> to add in my bat file
>> Billy .......................... Thanks
> Greetings Dr Red,
> If I understand your question correctly then maybe something like the
> below will get you started. This is coded by typing as I do not know of
> any "tool" that will do this.
> Also, I pick up these line from Timo Salmi's FAQ which is posted here on
> this news group every Monday. Have a look, great information there.
> Note: All lines are indented 2 (two) spaces. Beware the word wrap devil!
> I used XP3 for this.
> echo ³hi all ³
> echo ³ ³
> echo ³GOTO Billy ³
> echo ³ ³
> echo ³ ==================================== ³
> echo ³ I am looking a tool that makes a paragraph of text put a box
> on out side ³
> echo ³ the words like a table , but not HTML ³
> echo ³ ³
> echo ³==================================== ³
> echo ³ to add in my bat file ³
> echo ³ ³
> echo ³Billy .......................... Thanks ³
> echo
> ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Ù
> echo Press the Space Bar.
> pause>nul
> ::End Stuff
I just copied and pasted my post into a batch file from the news group for testing and it looks terrible. Dr Red you may need to edit that script with additional spaces.
> ====================================
> I am looking a tool that makes a paragraph of text put a box on out side
> the words like a table , but not HTML > ====================================
That is best done with a good text editor that can draw in ASCII. Like e.g. the Semware Editor.
On Jul 9, 12:24 pm, Timo Salmi <t...@uwasa.fi> wrote:
> On 09.07.2012 16:50 Dr Red wrote:
> > ====================================
> > I am looking a tool that makes a paragraph of text put a box on out side
> > the words like a table , but not HTML
> > ====================================
> That is best done with a good text editor that can draw in ASCII. Like
> e.g. the Semware Editor.
Const cHor = "Ä", cVert = "³", _
cULCorner = "Ú", cURCorner = "¿", _
cLLCorner = "À", cLRCorner = "Ù"
set con =
CreateObject("Scripting.FileSystemObject").opentextfile("con:", 2)
for each arg in wsh.arguments
s = s & arg & "|"
next
for each line in split(Replace(s & "/", "|/", ""), "|")
if len(line) > l then l = len(line)
next
con.writeline vbnewline & cULCorner & string(l+2, cHor) & cURCorner
for each line in a
con.writeline cVert & " " & line & space(l - len(line) + 1) & cVert
next
con.writeline cLLCorner & string(l+2, cHor) & cLRCorner
The text to be displayed is provided as command line arguments, which
can use vertical bars (|) to deliniate lines withing quoted
arguments. Or separate arguments with spaces. For example, ...
t:\>cscript boxdraw.vbs "This is a paragraph" "with a longer last
line."
or
t:\>cscript boxdraw.vbs "|This is a paragraph|with a longer last
line.|"
The second example puts a black line before and after the paragraph.
This could be converted to a hybrid VBS/batch by ECHOing the script
text into a temproary file and running that script, but I leave that
exercise to the student ;-).
_______________________________________
Tom Lavedas
On Mon, 09 Jul 2012 17:06:48 +0100, Bob <no_em...@unsound.unfit> wrote:
> Bob typed the following on 7/9/2012 11:49 AM:
>> Dr Red typed the following on 7/9/2012 9:50 AM:
>>> hi all
>>> GOTO Billy
>>> ====================================
>>> I am looking a tool that makes a paragraph of text put a box on out
>>> side
>>> the words like a table , but not HTML
>>> ====================================
>>> to add in my bat file
>>> Billy .......................... Thanks
>> Greetings Dr Red,
>> If I understand your question correctly then maybe something like the
>> below will get you started. This is coded by typing as I do not know of
>> any "tool" that will do this.
>> Also, I pick up these line from Timo Salmi's FAQ which is posted here on
>> this news group every Monday. Have a look, great information there.
>> Note: All lines are indented 2 (two) spaces. Beware the word wrap devil!
>> I used XP3 for this.
>> echo ³hi all ³
>> echo ³ ³
>> echo ³GOTO Billy ³
>> echo ³ ³
>> echo ³ ==================================== ³
>> echo ³ I am looking a tool that makes a paragraph of text put a box
>> on out side ³
>> echo ³ the words like a table , but not HTML ³
>> echo ³ ³
>> echo ³==================================== ³
>> echo ³ to add in my bat file ³
>> echo ³ ³
>> echo ³Billy .......................... Thanks ³
>> echo
>> ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Ù
>> echo Press the Space Bar.
>> pause>nul
>> ::End Stuff
> I just copied and pasted my post into a batch file from the news group
> for testing and it looks terrible. Dr Red you may need to edit that
> script with additional spaces.
> Later.
Simply use msgbox (small download)
or net send %username% "message"
> On 09.07.2012 16:50 Dr Red wrote:
>> ====================================
>> I am looking a tool that makes a paragraph of text put a box on out side
>> the words like a table , but not HTML >> ====================================
> That is best done with a good text editor that can draw in ASCII. Like > e.g. the Semware Editor.
+1
The Semware editor is good for that. I have the earlier 16 bit MSDOS version called Qedit which is still handy for such things.