EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     Question: Is there an option to print all the open files in one click?
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Yutaka
Posted on: 1/4/2013 6:29 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2397
Re: Question: Is there an option to print all the open files in one click?
Hello,

This macro should print all open documents directly to the default printer.

[JavaScript]
docs = new Enumerator( editor.Documents );
for( ; !docs.atEnd(); docs.moveNext() ){
    doc = docs.item();
    doc.Activate();
	editor.ExecuteCommandByID(4115);
}


Thank you!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

Flat Previous Topic | Next Topic


Subject Poster Date
   Question: Is there an option to print all the open files in one click? ArthurZ 1/4/2013 4:31 pm
   » Re: Question: Is there an option to print all the open files in one click? Yutaka 1/4/2013 6:29 pm
       Re: Question: Is there an option to print all the open files in one click? ArthurZ 1/7/2013 12:45 pm
         Re: Question: Is there an option to print all the open files in one click? Yutaka 1/7/2013 1:57 pm
       Re: Question: Is there an option to print all the open files in one click? ArthurZ 1/7/2013 12:48 pm
         Re: Question: Is there an option to print all the open files in one click? Yutaka 1/7/2013 2:00 pm

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