Hi,
Does anyone know if there is a function in UEStudio which would convert a preformatted text file (arranged in paragraphs) to HTML or XHTML? I have looked around but cannot find anything.
Cheers,
Mark Foster
Welcome to the IDM Forum. This forum is meant as a user-to-user support mechanism where users can share knowledge and tips for all IDM software.
Since these forums are user-to-user based, IDM does not regularly read or reply to the posts in this forum. For problem reports, suggestions, or feature requests, you must email us directly. Our trained technical support staff answers most inquiries within 30 minutes.
InsertMode
ColumnModeOff
HexOff
UnixReOff
Top
TrimTrailingSpaces
Find RegExp "%[ ^t]+"
Replace All ""
Loop 0
Find "^p^p^p"
Replace All "^p^p"
IfNotFound
ExitLoop
EndIf
EndLoop
Find RegExp "[~ ^t^r^n]"
EndSelect
Key LEFT ARROW
SelectToTop
IfSel
Delete
EndIf
Find MatchCase "&"
Replace All "&"
Find MatchCase "<"
Replace All "<"
Find MatchCase ">"
Replace All ">"
Find MatchCase """
Replace All """
Bottom
Find RegExp Up "[~ ^t^r^n]"
EndSelect
Key LEFT ARROW
Key RIGHT ARROW
SelectToBottom
IfSel
Delete
EndIf
Top
Clipboard 9
CopyFilePath
"<html>
<head>
<title>"
Paste
ClearClipboard
Clipboard 0
"</title>
"
IfColNumGt 1
DeleteToStartofLine
"</head>
<body>
<p>"
Find "^p^p"
Replace All "</p>^p^p<p>"
Bottom
"</p>
</body>
</html>
"
Top
Find MatchCase "<title"
Key RIGHT ARROW
Find RegExp "[~<]+"