The other day I wrote a small script that when a window popped up (I think it uses java script) in Mozilla that MS12 would automatically set focus on the window and would click on the appropriate button. I had a similar script using MS10 that did this. Manually I can Left Click the button and it would refresh and then I can do it again. So I wrote this simple script that did exactly that, but the LClick doesn't work. So I did a record my actions and did the click on the windows and recorded it. Re-ran it and it still didn't work. I tried the LDown and the Lup but to no avail.
Is there some other way to mimic a LClick in MS12 to make this work?
I am using Windows 7 now, does this make a difference.
LClick and Java
Moderators: Dorian (MJT support), JRL
-
- Newbie
- Posts: 7
- Joined: Thu Oct 12, 2006 1:04 pm
- Location: Hampton, VA
- Contact:
THIS clicks my buttons.
Code: Select all
GetCursorPos>CurX,CurY
LibFunc>User32,mouse_event,MEres,2,CurX,CurY,0,0
LibFunc>User32,mouse_event,MEres,4,CurX,CurY,0,0
-
- Newbie
- Posts: 7
- Joined: Thu Oct 12, 2006 1:04 pm
- Location: Hampton, VA
- Contact:
Still not working
I tried that, and it doesn't work either. Maybe it is a Windows 7 thing.