EmEditor (text editor) Forum Index
   Questions and Answers about Macros
     copy file name to clipboard
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Stefan
Posted on: 10/17/2011 2:49 am
Home away from home
Joined: 7/14/2008
From: Germany, EU
Posts: 262
Re: copy file name to clipboard
Hi Derek.

Quote:

derekcohen wrote:

Is there an API reference anywhere?


I think EmEditor Help (F1) > Macro Reference
is what you search for.


So here is my solution:
EmEditor Help > Macro Reference > Document Object > Properties: Name Property

clipboardData.setData("Text", document.Name );



_


There are also
document.FullName
document.Path
and many more...
Flat Previous Topic | Next Topic


Subject Poster Date
   copy file name to clipboard derekcohen 10/17/2011 12:02 am
     Re: copy file name to clipboard derekcohen 10/17/2011 12:27 am
     » Re: copy file name to clipboard Stefan 10/17/2011 2:49 am

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