How do I go about inserting a Ctrl-Z in a text file ?
Aaron
Inserting control characters
There are at least two options.How do I go about inserting a Ctrl-Z in a text file?
Option 1: If you type Ctrl+Z and nothing happens usually this means these keys are mapped to a keyboard function. So you need to use the Options, Editor Options menu to edit the active keymap and remove the mapping.
Option 2: The Tools, ASCII Chart menu shows Ctrl+Z has a decimal value of 26, so you need to use the Macros, Execute Script menu, type in Char and enter 26 in the resulting input dialog box.
The second option is running the char.lua macro found in the zScript directory.
Cheers Jussi
Last edited by jussij on Wed Apr 12, 2006 7:06 am, edited 1 time in total.