
   eNote - what is this?

   eNote is an electronical notebook.  It is like a text editor, but
it was developed specially for comfortable notes keeping.  eNote does
save automatically and may be called as fast as possible.


   RESIDENT mode

   This mode is a main feature of eNote.  Program in resident mode may
be launched from WBStartup and stays resident without window opening.
If you call it, eNote opens his window immediately, without startup
delays, libraries opening etc.  eNote has two open methods - double
start (simply double click on it's icon again) and AREXX command "OPEN".

   If Resident mode is not active, eNote will open window immediately
after start and exit after window closing.


   Several files support

   eNote allows editing any number of files.  If you send new file to
eNote, it will automatically save current file (ATTENTION: it is a
note book, not simple text editor!) and load new one.
   You can send new file to eNote in three ways: double start, OPEN
command and drag'n'drop file from Workbench or Directory Opus 5.


   Security

   eNote has cryptographics support for "secret" files.  You can
select encryption method, security level and a password in Set Encrypt
menu.  Encryption of current file may be turned on by Encrypt
checkmark in menu.
   eNote will request password when you will try to load "secret" file.
If password was incorrect, eNote stays at previous file.  If password
was ok, eNote will automatically encrypt this file with same password.

   Encryption was supported with XPK package.  eNote does not allow to
select any XPK method without encryption support, because compression
is useless for note book.  But if you want, you may compress files "by
hand", and eNote will automatically decompress them and compress
during save.

   We can recommend you to use IDEA as a reliable encryption method.
If you don't have XPK installed, encryption will be unavailable.


   Supported file types

   eNote supports three file formats - TEXT, EMAIL and PLAIN.
This formats differs in formatting, style and color control codes.
   TEXT does not contain any special codes at all.  If you will save
text on this format, any formatting will be lost.  This format may be
useful for text transfer to another application.
   EMAIL is an extended text format.  It can contain text styles and
separator bar.  It is widely used in electronic mail applications like
Spot, YAM etc.
   PLAIN contains all codes, including formatting and color.
   You can store current file in any of these three formats, and
export it to any other format.


   Program launching

   eNote may be launched both from CLI and WB.  Most simple method is
moving eNote to WBStartup and turning RESIDENT mode on.  Program
tooltypes actually is a preferences, and eNote will read them even
from CLI.  After starting eNote reads file from NAME argument.

   For eNote activation from RESIDENT, execute following command:

   rx "address ENOTE; 'OPEN filename'"

   This command may be executed from DOpus5 button bank, ToolManager,
ToolsDaemon.  If you have several texts, you can create several
buttons with different files.


   Usage of eNote

   eNote has graphical interface, very similar to programs like
WordWorth, FinalWriter etc.  You can select text in editor field and
change it to italic, underline, bold and colored.  If you have
Toolbar.mcc installed, eNote window will contain optional draggable
toolbar.  You can drag it to any edge of window.  Most operations may
be done from keyboard - see hotkeys in menu.
   Other eNote capabilities include time/date insertion, two different
separators, undo/redo, upper/lowercase, clipboard operations, text
formatting.  You can explore them independently.


   Search/Replace

   This function may be called both from menu and keyboard.  If text
succesfully found, it will be selected, next Search will repeat
operation.  Replace button replaces selected text.  Replace All will
repeat replace to the end of file.
   Attention: Replace function will replace selected text! If you find
one text, and then select another - another text will be relpaced!


   Autosave

   Autosave may be turned on by AUTOSAVE tooltype with interval
in seconds.  Text will be saved after selected interval from last text
change.  This feature is very useful for users, who don't have UPS :)
   Autosave may be turned off from menu.


   Toolbar

   Toolbar may be present on any side of window.  You can drag it to
any another side or turn it off (Settings -> Toolbar menu).
   Every button in toolbar may be controlled separately by NOxxxx
tooltypes.
   You can use Virtual Toolbar feature (controlled by VIRTUALTB
tooltype).  If it is turned on, window may be smaller that toolbar.


   View Mode

   View Mode in Settings menu disables text editing.  This feature is
useful for important read-only texts.


   Screen switching

   If you will select «Frontmost» screen in MUI settings, you can use
Next screen menu item.  This item will transfer eNote window to next
public screen.  Custom screens like ShapeShifter will not be used.


   REXX-commands

   eNote has a REXX-port «ENOTE» (uppercase!):

   SAVE            - current text save, without arguments.
   SAVEAS          - export text to selected file.  Text may be saved
                     in any format, controlled by PLAIN/S,EMAIL/S,TEXT/S
   OPEN            - change current file with current file saving.
                     OPEN must contain file format agrument.
   VIEWMODE        - ON/S,OFF/S
   TOOLBAR         - ON/S,OFF/S
   TOOLBARPOSITION - TOP/S,BOTTOM/S,LEFT/S,RIGHT/S

   eNote supports all Texteditor.mss commands:

   CLEAR
   CUT
   COPY
   PASTE
   ERASE
   GOTOLINE
   GOTOCOLUMN
   CURSOR
   LINE
   COLUMN
   NEXT
   PREVIOUS
   POSITION
   SETBOOKMARK
   GOTOBOOKMARK
   TEXT
   UNDO
   REDO
   GETLINE
   GETCURSOR
   MARK
   DELETE
   BACKSPACE


   ToolTypes of eNote:

   NAME            - path to file opening at eNote startup.
                     If this file was encrypted, eNote will request
                     password during system startup.
                     If password fails, eNote quits even in RESIDENT!
   WORKMODE        - file format (PLAIN/EMAIL)
   AUTOSAVE        - interval in seconds.  If it is not selected,
                     Autosave will be unavailable in menu.
   STARTCMD        - CLI command, executed at startup.
   QUITCMD         - CLI command, executed at quit.
   OPENCMD         - CLI command, executed when window opens.
                     May be used, for example, for DOpus5 buton bank
                     (with several files selection) opening.
   CLOSECMD        - CLI command, executed when window closing.
   IMAGES          - directory contains gfx buttons and Toolbar images.
   VIRTUALTB       - Virtual Toolbar mode
   RESIDENT        - RESIDENT mode
   ICONIFY         - iconify when user closes window.  If this tooltype
                     not selected, eNote will simply close window.
                     Iconify is slower than closing, but it is required
                     for using eNote on his own screen.  If you use
                     eNote on WB or any existing screen, we recommend
                     you to disable INCONIFY tooltype.
   PEN             - pen number for Colored text.
   TOOLBAR         - turn Toolbar on
   TOOLBARPOSITION - TOP/BOTTOM/LEFT/RIGHT
   TOOLBARKEY      - this key will switch Toolbar on/off
   SPACING         - window spacing for ediding window.  It is not
                     controlled by MUI prefs and may be changed here
                     separately.  It is useful if you will use toolbar
                     dragging.
   NORESIZE        - disable window resize gadget.
   FIXED           - use fixed width font in editing window.
                     Proportional font will be used as default.
   USEXFD          - use xfdmaster.library with XPK.  Slow down eNote
                     launching (scans all XFD libs when XPK opening),
                     practically useless.
   EXPORTTEXTWRAP  - exported text file width.
   EOF             - positioning to the end of text at startup.
   VIEW            - view mode.

   Following tooltypes disable corresponding toolbar buttons:

   NOCUT
   NOCOPY
   NOPASTE
   NOUNDO
   NOREDO
   NOSEPARATOR
   NOBOLD
   NOITALIC
   NOUNDERLINE
   NOCOLORED
   NOLEFT
   NOCENTER
   NORIGHT


   CLI arguments

   All eNote CLI arguments are similar to tooltypes.  If you select
any CLI argument, it will be used instead of corresponding tooltype.


   Status of eNote

   eNote is a CARDWARE.  It means that you must send me a postcard if
you like this program.


   Author

   AmiS

   Snail mail:
   Russia, Moscow, 121108, Kastanaevskaia street, 27/5-45.
   E-mail: amis@cch.pmc.ru


