How to Work with Objects in EmEditor - A Step-by-Step Guide

How to Work with Objects in EmEditor - A Step-by-Step Guide

Steven Lv8

How to Work with Objects in EmEditor - A Step-by-Step Guide

October 7, 2008 at 5:06 pm #6353

Yutaka Emura

Keymaster

Stefan wrote:
Sorry, i don’t understand this
and didn’t found this answer in the help or on the forum.

In help i found
WrapMode Property
[VBScript]
nMode = object.WrapMode
object.WrapMode = nMode

I try
nMode = Object.WrapMode
alert nMode

But get an error ==> [Object needed: object]

Question:
how can i do this?
Something like ==> SET OBJECT = CreateObject(“EEMacro.dll”) ???
I searched everywhere … :-(

v8 beta4
Thanks for an hint, Stefan.

I am sorry the document is not clear. This portion was meant to show the syntax. More examples were needed.
Here is how you might want to accomplish your task:

cfg = document.Config;  

cfg.General.WrapMode = eeWrapByWindow;  

cfg.Save();

Also read:

https://techidaily.com
  • Title: How to Work with Objects in EmEditor - A Step-by-Step Guide
  • Author: Steven
  • Created at : 2024-10-10 00:30:04
  • Updated at : 2024-10-11 10:38:03
  • Link: https://win-webster.techidaily.com/how-to-work-with-objects-in-emeditor-a-step-by-step-guide/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
How to Work with Objects in EmEditor - A Step-by-Step Guide