I have HTML block files that I use to generate long letter.
Currently, I cut and past them into a framework file manually.
I wish to automate the process in a VERY specific way, to create a pre-processor like "#include" script, so that my new document will look like that
<html>
<header>whatever required here</header>
<body>
<global = a group of required global definitions, design parameters, tags and tables>
<! here is the important part>
#include "d:\users\username\project\data\zBlock-Hello.html"
#include "d:\users\username\project\data\zBlock-UserDetails.html"
#include "d:\users\username\project\data\zBlock-DocumentsLinks.html"
#include "d:\users\username\project\data\zBlock-DownloadLinks.html"
</global>
</body>
</html>
The structure of the #include script I believe should be something like the following:
UltraEdit.document[$FileName].open
UltraEdit.document[$FileName].SelectAll
UltraEdit.document[$FileName].copy
UltraEdit.activeDocument.paste
UltraEdit.document[$FileName].close
Questions:
(1) How to obtain the file name string ($FileName) required for the commands
(2) How to implement the commands
(3) How to get an output file, that is how to actually execute the script?
I am TOTALLY new to Ultra Edit, I have to find my way around on how to do things here, I would DEEPLY appreciate a step by step guidance (or if anyone may just programme it and I use it as an excellent tutorial), if my modus operandi is erroneous, please enlighten me on how to do that correctly with UE. Please note the a simple "merge" is UNFAVOURABLE as I must have the work frame and I wish not to split the decelerations openings from their closing, leaving me with a serve maintenance problem.
TYIA, J
Currently, I cut and past them into a framework file manually.
I wish to automate the process in a VERY specific way, to create a pre-processor like "#include" script, so that my new document will look like that
<html>
<header>whatever required here</header>
<body>
<global = a group of required global definitions, design parameters, tags and tables>
<! here is the important part>
#include "d:\users\username\project\data\zBlock-Hello.html"
#include "d:\users\username\project\data\zBlock-UserDetails.html"
#include "d:\users\username\project\data\zBlock-DocumentsLinks.html"
#include "d:\users\username\project\data\zBlock-DownloadLinks.html"
</global>
</body>
</html>
The structure of the #include script I believe should be something like the following:
UltraEdit.document[$FileName].open
UltraEdit.document[$FileName].SelectAll
UltraEdit.document[$FileName].copy
UltraEdit.activeDocument.paste
UltraEdit.document[$FileName].close
Questions:
(1) How to obtain the file name string ($FileName) required for the commands
(2) How to implement the commands
(3) How to get an output file, that is how to actually execute the script?
I am TOTALLY new to Ultra Edit, I have to find my way around on how to do things here, I would DEEPLY appreciate a step by step guidance (or if anyone may just programme it and I use it as an excellent tutorial), if my modus operandi is erroneous, please enlighten me on how to do that correctly with UE. Please note the a simple "merge" is UNFAVOURABLE as I must have the work frame and I wish not to split the decelerations openings from their closing, leaving me with a serve maintenance problem.
TYIA, J