EmEditor (text editor) Forum Index
   Questions and Answers about Macros
     Create a new file set the configuration and paste from clipboard
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
shx
Posted on: 1/27/2013 5:30 am
Just can't stay away
Joined: 2/18/2009
From:
Posts: 77
Create a new file set the configuration and paste from clipboard
thestr = clipboardData.getData("Text");
Editor.newfile();
Testdoc = Editor.activedocument;
Testdoc.ConfigName = "Pub";
Testdoc.write(thestr);
Testdoc.selection.SetActivePoint( eePosLogical, 1, 1 );

Quit();


i want to create anew file and set it to a configurauin and then paste into it from clipboard.

It works up to the point where I paste from clipboard.

I manually need to do ctl+v

Thanks


----------------
Steven

Flat Previous Topic | Next Topic


Subject Poster Date
 » Create a new file set the configuration and paste from clipboard shx 1/27/2013 5:30 am
     Re: Create a new file set the configuration and paste from clipboard shx 1/27/2013 5:38 am

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