EmEditor (text editor) Forum Index
   Enhancement Suggestions about Macros
     Wish: document.SaveAS( [ strNEWName ] ); w/o dialog
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
Stefan
Posted on: 10/30/2011 4:50 am
Home away from home
Joined: 7/14/2008
From: Germany, EU
Posts: 262
Wish: document.SaveAS( [ strNEWName ] ); w/o dialog
Is there an macro feature to use SaveAs without opening the Save-Dialog?

I want to suggest:
document.SaveAs( [ strNEWName ] );

which saves the document with an new name "strNEWName"
as parameter and without asking for an new name via dialog.


Currently i do that by an macro in several steps:

strOrig = document.FullName;
document.Save(strNewName);
editor.OpenFile( strOrig );

.

Threaded | Newest First Previous Topic | Next Topic | Top


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