Hi,
The page is open in the browser (Firefox, Google Chrome, etc.). A fragment is highlighted on this page. If I press Ctrl+C this fragment will be copied to clipboard. Is it possible to do this through the FW program ?
Ctrl+C
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Ctrl+C
Natter,
You could ty to find the browser window using FindWindow() and then do a SendMessage( hWndBrowser, WM_COPY, 0, 0 )
You could ty to find the browser window using FindWindow() and then do a SendMessage( hWndBrowser, WM_COPY, 0, 0 )
Re: Ctrl+C
Antonio,
Creo que quiere decir que si en un Get se podria seleccionar texto y copiarlo con Ctrl-C
Salu2
Creo que quiere decir que si en un Get se podria seleccionar texto y copiarlo con Ctrl-C
Salu2
Re: Ctrl+C
Thanks, Antonio !
But how can I find the browser window using FindWindow () ?
I don't know in advance which browser it is
But how can I find the browser window using FindWindow () ?
I don't know in advance which browser it is
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Ctrl+C
Natter,
You can search for the title on the browser window:
hWndBrowser := FindWindow( ,"the title on the browser window" )
You can search for the title on the browser window:
hWndBrowser := FindWindow( ,"the title on the browser window" )
Re: Ctrl+C
I can't do a search by the title of the browser window either, as it may be different. Maybe you should use the FW_SENDKEY(11, 67) function) ?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Ctrl+C
We need to have the hWnd of the browser or there is no way to send it anything...