EmEditor (text editor) Forum Index Questions and Answers about Macros
Create a new file set the configuration and paste from clipboard | Register To Post |
| Threaded | Oldest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| shx | Posted on: 1/27/2013 5:38 am |
Just can't stay away ![]() ![]() Joined: 2/18/2009 From: Posts: 77 |
Re: Create a new file set the configuration and paste from clipboard Never mind, I find that it works sometimes and need to gather more information
|
| 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
|
| Threaded | Oldest First | Previous Topic | Next Topic | Top |
| Register To Post | |


