A text file contains only characters with a code point greater 0x1F and the control characters carriage return, line feed, form feed, horizontal tab, perhaps also a vertical tab although that is really, really rare, and perhaps at end of file the control character End of File. A file containing any other control character in code point range 0x00 to 0x1F is per definition not anymore a text file.
It is not possible to put a character or a string directly from macro into a clipboard. This is supported only by UltraEdit scripts since v14.20.
In a macro the control character with code point 0x08 must be copied from active file to clipboard. In text edit mode this is tricky, but can be done by inserting a space, move character back before inserted space, use a Perl regular expression replace to replace the space by character with hexadecimal value 0x08, select this control character and cut it to clipboard.
Code: Select all
InsertMode
ColumnModeOff
HexOff
" "
Key LEFT ARROW
PerlReOn
Find MatchCase RegExp " "
Replace "\x08"
StartSelect
Key LEFT ARROW
Clipboard 8
Cut
EndSelect
Don't forget to append the command
UnixReOff (UltraEdit) or
UnixReOn (Unix) on using usually one of the legacy regular expression engines.