Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ACC not working with MacromediaFlash :(( UPDATED!!!!
#14
Gint this code is designed to click the exact center of the button.. how would i make it click a certain x y on the button instead of the exact center..

Macro
Code:
Copy      Help
Acc SendButton=acc("Send" "PUSHBUTTON" win("" "ATL:007C37C0") "Button" "" 0x1001)
int x y w h
SendButton.Location(x y w h)
int b=child(SendButton)
ScreenToClient b +&x
x+w/2; y+h/2 ;;center
int xy=(x&0xffff)|(y<<16)
SendMessage(b WM_LBUTTONDOWN 1 xy)
SendMessage(b WM_LBUTTONUP 0 xy)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)