EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     Accessing the "Export all settings into a registry file" by a scripting application
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
mguttman
Posted on: 6/25/2012 7:16 am
Just can't stay away
Joined: 11/14/2009
From: Ashdod, Israel
Posts: 76
Accessing the "Export all settings into a registry file" by a scripting application
Hi all!

I had a rather traumatic experience recently, when my computer died (totally died, not "mostly died") on me. Well, most of my data was continuously backed up (using Dropbox) so no problem there. However, as for EmEditor, I had to reconfigure everything ! That took quite a number of hours.

Yes, there is that "tool" in [Tools->Import and Export->Export all settings into a registry file] and a compatible procedure to import from that file. Fine! But I never used it. Does any of you? Even if I did this "once and for all", that would have left me with a frustratingly outdated set of settings since I change settings quite often.

There are two approaches that I can think of to continuously keep an updated Registry file:

1) Expand the "Save work-space" to optionally export such a registry file. This however MUST be directed to a user-defined destination such as a Dropbox folder!

2) Using a scripting system such as Perl to export the file. Perl has a module that can invoke any Windows application, with or without it being shown on the screen. Such a script can then execute any VBA command of the application. Such a Perl script could be scheduled daily to do its job and save the latest set (or to keep a FIFO number of these). Is it possible to use it to invoke that function of EmEditor and export all settings?

Regards
Meir


----------------
Regards,
Meir

Flat Previous Topic | Next Topic


Subject Poster Date
 » Accessing the "Export all settings into a registry file" by a scripting application mguttman 6/25/2012 7:16 am
     Re: Accessing the "Export all settings into a registry file" by a scripting application Yutaka 7/3/2012 10:33 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文