EmEditor Text Editor Features Macro Recording Using Prompt-Based Templates

EmEditor Text Editor Features Macro Recording Using Prompt-Based Templates

James Lv8

EmEditor Text Editor Features Macro Recording Using Prompt-Based Templates

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

  • Author
    Posts

  • March 27, 2008 at 8:29 pm #5609
    JAK
    Member
    I found EMEditor to be very useful in editing very large PHP statistical database sites. For different clients I have to go in and change Form Field descriptions.
    I found that I can ride a very large macro in JavaScript.. it works very well except when its fails. “Some of the descriptions to be changed are simply not in the file”
    I have put in an alert to stop on such failures. However clicking on cancel does not stop the macro from running…
    I need some way to prompt in the middle of a macro to continue, Y/N, and with a response of “N” stop execution..
    March 27, 2008 at 8:50 pm #5610
    Yutaka Emura
    Keymaster

    JAK wrote:
    I found EMEditor to be very useful in editing very large PHP statistical database sites. For different clients I have to go in and change Form Field descriptions.
    I found that I can ride a very large macro in JavaScript.. it works very well except when its fails. “Some of the descriptions to be changed are simply not in the file”
    I have put in an alert to stop on such failures. However clicking on cancel does not stop the macro from running…
    I need some way to prompt in the middle of a macro to continue, Y/N, and with a response of “N” stop execution..
    You can add
    try { … } catch(e) { … }
    statement to catch most errors, and use Quit() method to stop your macro. For instance:

    try {

    catch(e)

    Quit();  
    
  • 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: EmEditor Text Editor Features Macro Recording Using Prompt-Based Templates
  • Author: James
  • Created at : 2024-10-13 02:01:56
  • Updated at : 2024-10-20 08:38:56
  • Link: https://win-deluxe.techidaily.com/emeditor-text-editor-features-macro-recording-using-prompt-based-templates/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
EmEditor Text Editor Features Macro Recording Using Prompt-Based Templates