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] 2024 Approved Conquer Video Quality with Best 3 Transcoder Methods for Zoom
- [Updated] 2024 Approved Essential Knowledge How Io Screen Recorder Works
- [Updated] 2024 Approved Poll Power Play Best Election Strategy Games
- [Updated] Facebook's Flash Video Frenzy
- [Updated] In 2024, Quick Guide to the iFunny Meme Application
- [Updated] In 2024, Schedule Smarter The Art of YouTube Content Timing
- Complete Step-by-Step Process on Moving Your Favorite Spotify Tunes to Apple Music
- EmEditor Pro V11.1.0 Preview Release - Advanced Text Editing Software
- Error 404: The Missing Webpage – What To Do When Content Can't Be Located
- Kostenlose Umwandlung Von WMV in FLAC Online Durch Movavi - Schnelle Lösung!
- Reposición Del Archivo Descartado Accidentalmente en Las Versiones Actuales De Windows (10 Y 11)
- Ricostruisci File Scomparsi Dal Tuo Disco Di Stato Con Facili Passaggi Guida.
- The Essentials of Maintaining a Pristine Email Database: Insights From MassMail
- The Evolution of Software Development: Agnes Ro's Perspective with Atlassian | Featured on ZDNet
- Troubleshooting the Volume Shadow Copy Failure in Windows 10, 7, and 8: Expert Solutions
- Title: Guide on Configuring Settings Within Macros Using EmEditor Text Editor
- Author: Andrew
- Created at : 2024-12-24 19:54:01
- Updated at : 2024-12-29 20:38:09
- 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.