Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ACC not working with MacromediaFlash :(( UPDATED!!!!
#2
This works
Macro
Code:
Copy      Help
int w1=win("Internet Explorer" "IEFrame")
Htm el=htm("OBJECT" "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" "" w1 0 3 0xA21)
el.Mouse(1 10 10 1)

WM_LBUTTONDOWN works only if the window is active and the mouse is over the flash object.
Macro
Code:
Copy      Help
int w1=win("Internet Explorer" "IEFrame")
act w1 ;;works only if IE is active
Htm el=htm("OBJECT" "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" "" w1 0 3 0xA21)
el.Mouse(0 10 10 1) ;;works only if mouse is there
int x y w h
el.Location(x y w h)
int w2=child("" "Internet Explorer_Server" w1)
ScreenToClient w2 +&x
x+w/2; y+h/2 ;;center
int xy=(x&0xffff)|(y<<16)
SendMessage(w2 WM_LBUTTONDOWN 1 xy)
SendMessage(w2 WM_LBUTTONUP 0 xy)


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)