Hangul Automation: Document Initialization Macro Fixes

A glitch is causing headaches for developers: the “Confirm” button isn’t consistently registering during single division deletion processes, and background pages aren’t being deleted as expected. The issue centers around a series of functions designed to initialize document settings and manage page elements.

The document initialization process involves several functions:

  • Typesetting Deletion: Removes control types 40-49 using CreateAction and CreateSet.
  • Section Deletion: The delete area() function targets controls with ID “secd”, attempting to reposition them and then executing “DeleteBack” followed by three “BreakPara” actions.
  • Single Division Deletion: Attempts to delete divisions using “Goto” actions triggered by values in the `split` array (18 and 54). This function is experiencing the “Confirm” button issue.
  • Background Deletion: Aims to remove the master page using “MasterPage” and “DeleteDocumentMasterPage” actions.
  • Whitespace Cleanup: The Clean up blank space() function replaces “^s” and “^r” with spaces using “AllReplace”.
  • Multi-Stage Settings: Adjusts multi-column settings to 1 column using the “MultiColumn” action.

The core issues are:

  1. The “Confirm” button sometimes fails to activate during single division deletion.
  2. Background pages are not being successfully removed from the document.

Developers are actively investigating these problems, focusing on the interactions between these functions.

You may also like

Leave a Comment