Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling mouse movement and clicks in IE5 via VFPCOM
Message
 
To
10/03/2000 13:48:50
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00344315
Message ID:
00344371
Views:
27
>Birger,
>
>>I need to control mouse movement (move the mouse and click) in IE5.
>>I thought this might be done with VFPCOM.
>>I'm lost, anybody to point me in the right direction ?
>
>VFPCOM helps you *respond* to IE events, not fire them.
>
>You can click a button by just calling its click method. Try these in the command window and check the results in the browser window that is opened:
oIE=CREATEOBJECT("InternetExplorer.Application")
>oie.visible=.t.
>oIE.navigate2("msdn.microsoft.com/vfoxpro")
>oSearchForm=oIE.document.forms("SrchInput")
>oSearchForm.qu.value="Visual Basic"
>oSearchForm.submit1.click()
If you view the source of the Visual Foxpro page, you will see the "SrchInput", "qu", and "submit1" names.
>
>I'll leave the mouse-moving for someone else to answer.

Thank you David !

The problem is that I try to control a Java Applet that doesn't 'present' it's events. That's what the mouse (cursor really) movement and click events are needed for.
Does anybody know how to move the mouse and trigger the click event within IE5 ?
Birger G. Thoresen

Pek og Klikk
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform