
Guide on Configuring Settings Within Macros Using EmEditor Text Editor

Guide on Configuring Settings Within Macros Using EmEditor Text Editor
September 14, 2009 at 11:49 pm #7639
Keymaster
dw7832 wrote:
I’m currently struggling to set the properties of the active configuration of a file in a macro:// toggle show spaces
if (document.Config.Mark.ShowSpaces) {
document.Config.Mark.ShowSpaces = false;
} else {
document.Config.Mark.ShowSpaces = true;
}and
with (document.Config.Indent) {
TabColumns = 4;
InsertSpaces = true;
WrapIndent = true; }
document.Config.Save();Neither of these give an error message but when alert()-ing the properties they are not changed nor does EmEditor act like they’ve changed. Can anybody shed any light?
Thank you in advance.
Please try this way:
cfg = document.Config;
if (cfg.Mark.ShowSpaces) {
cfg.Mark.ShowSpaces = false;
} else {
cfg.Mark.ShowSpaces = true;
cfg.Save();
Also read:
- [New] Understanding the Core of ASMR Media
- [Updated] Essential VR Adventures on Oculus Devices
- Enrich Your Screen Time Integrating Facebook LIVE Into Roku for 2024
- How to Bypass Google FRP Lock on Itel S23 Devices
- Lösung Für Den Kritischen Systemfehler «Betriebssystem Nicht Gefunden» Bei Acer-PCs
- Maximize System Efficiency: Confirm the Integrity of Your Temporary File Storage
- Non-Visible Reader Mouse on Windows 11 - Solutions & Fixes
- The Chronicle of Creation Weaving Time-Lapse Animations via Movie Maker for 2024
- Transférer Des Informations Vers Un SSD WD Sans Reformatage
- Why are your photos lost from iPhone 11? | Stellar
- Wiederauffinden Verlorener Spielinhalte Auf Dem PC: Erfolgreich Mit Diesen 5 Strategien
- Title: Guide on Configuring Settings Within Macros Using EmEditor Text Editor
- Author: Andrew
- Created at : 2025-02-17 17:43:50
- Updated at : 2025-02-18 21:25:53
- Link: https://win-latest.techidaily.com/guide-on-configuring-settings-within-macros-using-emeditor-text-editor/
- License: This work is licensed under CC BY-NC-SA 4.0.