1
1
10101010010001001101001112011-12-05 10:20:27
PHP
1010101001000100110100111, 2011-12-05 10:20:27

PHP COM Automation: Taming the Clipboard

Reading the text content of the windows clipboard with PHP is as easy as shelling pears:

$buffer = new COM("htmlfile");
$result = $buffer->ParentWindow->ClipboardData->Getdata("text");
And, here, how to write something there?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mitric, 2011-12-05
@mitric

where to write to the buffer? for excel something like this: i.e. use copy/paste methods
$xls->app->range(1,5)->select;
$xls->app->application->selection->copy();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question