Understanding Macro Support: Do Registries and Globals Work Like Vim/Emacs Within the EmEditor Text Editing Suite?

Understanding Macro Support: Do Registries and Globals Work Like Vim/Emacs Within the EmEditor Text Editing Suite?

Matthew Lv8

Understanding Macro Support: Do Registries and Globals Work Like Vim/Emacs Within the EmEditor Text Editing Suite?

Viewing 2 posts - 1 through 2 (of 2 total)

  • Author
    Posts
  • December 1, 2008 at 4:36 pm #6691
    dreftymac
    Participant
    Sometimes it is useful to be able to create persistent variables in a macro that can be seen by other macros. As far as I know, if the user of emeditor wants to pass variables around between different macros, this can be done already in the following ways:
  1. use the windows clipboard;
  2. use the windows registry;
  3. use a temporary text file;
    One problem with all of these methods is they can be a bit slow and cumbersome to use on a regular basis. Is it possible to create a macro that can directly read and write to temporary registers such as is possible with Vim or Emacs?
    December 1, 2008 at 6:11 pm #6692
    Yutaka Emura
    Keymaster

    dreftymac wrote:
    Sometimes it is useful to be able to create persistent variables in a macro that can be seen by other macros. As far as I know, if the user of emeditor wants to pass variables around between different macros, this can be done already in the following ways:

    1. use the windows clipboard;
    2. use the windows registry;
    3. use a temporary text file;

    One problem with all of these methods is they can be a bit slow and cumbersome to use on a regular basis. Is it possible to create a macro that can directly read and write to temporary registers such as is possible with Vim or Emacs?
    No, there are no global variables, unfortunately. I would suggest writing a sub-function to handle global variables in one of the above ways.

  • Author
    Posts

Viewing 2 posts - 1 through 2 (of 2 total)

  • You must be logged in to reply to this topic.

Also read:

https://techidaily.com
  • Title: Understanding Macro Support: Do Registries and Globals Work Like Vim/Emacs Within the EmEditor Text Editing Suite?
  • Author: Matthew
  • Created at : 2024-10-11 08:47:30
  • Updated at : 2024-10-13 23:33:16
  • Link: https://win-workspace.techidaily.com/understanding-macro-support-do-registries-and-globals-work-like-vimemacs-within-the-emeditor-text-editing-suite/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Understanding Macro Support: Do Registries and Globals Work Like Vim/Emacs Within the EmEditor Text Editing Suite?