Hi, unfortunately I dont have a browser to provide javascript for me, the
app is PHP-GTK && php shell scripts only.

I almost have a solution in that I have been playing with getclip.exe which
is part of cygwin, I can at this point run clipget via popen() and echo the
clipboard, but so far only to stdout ... which I have tried to read via
fopen('php:stdout','r') with no joy, also trying to capture the output using
output buffering is not working I assume for the same reason as the
clipget.exe is running as a seperate process and does not appear to have an
option of redirecting output to file.

I am getting a bit worried now as this is an essential reqirement of my app
;)

So I am looking now at the w32api , I have got the sample at php.net running
in that I can get a windows alert or confirm etc box via the w32api & have
found some info on VB methods of grabbing the clipboard, translating this to
PHP has got me totally stumped so far though - does any one know of any
resources that could point me in the right direction?

Note of warning: this is what happens when you flippently say `yeah, PHP can
do that` :)

"Eduards Cauna" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> > > >My Q is how would (can I) capture the contents of the windows
clipboard?
> > > >I have an app running on the client computer, they copy an image to
the
> > > >clipboard.. - canI get it ?
>
> Think about JavaScript.
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to