Filling ActiveScript Variables with Textblock ?
Posted: Fri Sep 28, 2007 8:59 pm
I am writing a script, that either takes the currently marked block of text and constructs a HTML file with it, which then will be run in IE, or, if no mark set, it marks the whole text and constructs the HTML from that.
There is no way to access the Clipboard with ActiveScript. I did not find a COM or WSC doing this, either.
The only possibility seems to use temporary textfiles, that I then load via WSH and glue together.
Would it be a lot of work to add a possibility for filling a script-variable with the contents of the marked block ?
Like: ?
There is no way to access the Clipboard with ActiveScript. I did not find a COM or WSC doing this, either.
The only possibility seems to use temporary textfiles, that I then load via WSH and glue together.
Would it be a lot of work to add a possibility for filling a script-variable with the contents of the marked block ?
Like:
Code: Select all
var txt = zeus.get_marked_contents();