Jump to content

<IE.au3> _IEAction cant work


Recommended Posts

I'm writing a small auto play tool for webgame.

main site of webgame I'm playing: www.webgame.com.vn

And I not good with html, javascript, php, or something like that .... :)

Now, I have a problem with them

I use function _IEaction($oIE, "click") to click a button, with normal button, it works

but in this case, It doesn't work.

code of that button:

<button id="i1bb" name=":submit" value="出兵" 
onclick="var wcall=wicketSubmitFormById('actionForm', '?x=99s0f417UgnSomOcC1gAMvYONdymk8ynEd0VgV-XauiT2czVClm2dANf1DnCHoNVVIOIkfy8brb9FYp8SrEwx4udXVfWHSRZuSHfNT-RlwvAGpGVr5op8Oad9-RFOASd', ':submit' ,null,null, function() {return Wicket.$$(this)&amp;&amp;Wicket.$$('actionForm')}.bind(this));;; return false;" type="button">
              Xuất binh
</button>

or view source of the attach file for more information

If u open with browser, scroll down to view the button(only one button =.=")

Thanks very much. And sorry If my E is bad

p/s: my yahoo ID is trandatnh, I'm Vietnamese, I want to learn Autoit with everybody like it :)

XuatBinh.htm

Edited by trandatnh
Link to comment
Share on other sites

Thanks for reply.

But It still can't work.

Cuz When I click on it (click by real mouse), will have a pop-up appear.

But When I use _IEAction, that pop-up don't appear.

an example:

When I click by my mouse, a pop-up appear, close pop-up, click by mouse again ~> don't have new pop-up

When I click by _IEAction, no pop-up, click by mouse again ~> don't have new pop-up

So I think _IEAction just click on that button but cant open pop-up.... :)

Someone tell me another way to click button TT_TT!

Edited by trandatnh
Link to comment
Share on other sites

Oh thank Authenticity so muchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

:)

I love u ^^!

Can u tell me your yahoo ID or skyper or an instant messenger ID ?

Ah, can u explain for me about properties "forcus"?

Edited by trandatnh
Link to comment
Share on other sites

  • 3 weeks later...

Today I have problem with _IEAction again....

Before, I used

$oElem = _IEGetObjById($oIE, 'i1bb')

_IEAction($oElem, 'focus')

_IEAction($oElem, 'click')

it work!

It still work on another PC

But after my pc is formated , this code is not work :)

of cource before and after format, version of IE is the same. (IE 6)

Can anyone explain for me that: "what parameter 'forcus' in _IEAction func do?"

And how can I repair it to work in every PC?

And what version of IE that IE.au3 lib is the best with?

Edited by trandatnh
Link to comment
Share on other sites

Try to update to IE7, maybe it'll fix it.

Don't worry i'm not taking over the thread.

But to that, so does that mean, because i have the old IE, (preinstalled with windows install), this means why my actions do not work when i create something?

Thanks!

Saved me making a new thread thats all.

[right][/right]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...