.Headers
..1:aline @áHTMLáEditorá@
..2:aline @áHTMLáEditorá@
..3:aline @áHTMLáEditorá@
..4:aline @áHTMLáEditorá@
..5:aline @áHTMLáEditorá@
..6:aline @áHTMLáEditorá@
.Image:set %tempimg $dir="Find an Image File" $mircdir | aline @áHTMLáEditorá@
.Italic:aline @áHTMLáEditorá@
.Line Break:aline @áHTMLáEditorá@
.Link:set %temp $$?="Enter URL to link to:" | set %temp1 $$?="Enter Text, or html tag for link:" | aline @áHTMLáEditorá@ [ $+ [ %temp1 ] ] $+
.Mailto:set %temp $$?="Enter address to mail to:" | set %temp1 $$?="Enter Text, or html tag for link:" | aline @áHTMLáEditorá@ [ $+ [ %temp1 ] ] $+
.ParaGraph:aline @áHTMLáEditorá@
.Table
..Start:set %temp $$?="Enter Border (must be a #)" | set %temp1 $$?="Enter CellPadding (#)" | set %temp2 $$?="Enter Cell Spacing (#)" | aline @áHTMLáEditorá@
..End:aline @áHTMLáEditorá@
..TR:aline @áHTMLáEditorá@
..TH:aline @áHTMLáEditorá@
..TD:aline @áHTMLáEditorá@
-
New file::loop | set %temp $$?="Save Changes to File? (y/n)" | if ((%temp != y) && (%temp != n)) { goto loop } | if (%temp == y) { savebuf $lines(@áHTMLáEditorá@,0) @áHTMLáEditorá@ $$?="Enter a filename:" | window -c @áHTMLáEditorá@ | htmleditor } | if (%temp == n) { window -c @áHTMLáEditorá@ | htmleditor } | halt
Open file:clear @áHTMLáEditorá@ | set %temp $dir="Enter HTML file to edit:" $mircdir*.htm | /loadbuf 1- $+ $lines(%temp) @áHTMLáEditorá@ %temp
Save File:set %temp $$?="Enter FileName (.htm file):" | if ($exists(%temp)) { :setloop | set %tempyn $$?="File already exists, Overwrite (Y/N)" | if ((%tempyn != y) && (%tempyn != n)) { goto setloop } | if (%tempyn == y) { .remove %temp | savebuf $lines(@áHTMLáEditorá@,0) @áHTMLáEditorá@ %temp } | if (%tempyn == n) { halt } } | else { savebuf $lines(@áHTMLáEditorá@,0) @áHTMLáEditorá@ %temp }
View
.With Netscape:savebuf $lines(@áHTMLáEditorá@,0) @áHTMLáEditorá@ temp.htm | run c:\program files\netscape\navigator\program\netscape.exe $mircdirtemp.htm
.With MIE:savebuf $lines(@áHTMLáEditorá@,0) @áHTMLáEditorá@ temp.htm | run c:\program files\internet explorer\iexplore.exe $mircdirtemp.htm