>I have a project where I need to automate Internet Explorer to read data from a website. The data must be read from a page which is a popup page activated by clicking some text on the main URL. But since many users have disabled popups, I need to programmatically press the shift key before I programmatically press the text. Something like
>lox=Createobject('internetexplorer.application')
>lox.Navigate('http://www.someurl.com/somepage')
>if navcomplete(lox,lntime)
> ** Press shift key
> lox.document.all.Main.contentWindow.document.all.minf0.click()
>Endif
>Can someone help me with code to simulate that the shift key is pressed?
See
http://berezniker.com/content/pages/visual-foxpro/keyboard-input-virtual-key-codesI would guess we need to use SendKeys() function.
Re: Send a Key Thread #
1319460 Message #
1319465
If it's not broken, fix it until it is.
My Blog