Sign in to follow this  
Followers 0
saveyoursoul

How "Click" this button?

12 posts in this topic

Hi all I'm noob with autoit. I need to press the button on side but i don't won't use TAB & ENTER or MOUSECLICK i was trying

_IELinkClickByText but it won't work , it is a java button suppose , button name "NEXT" below site code:

<tr height="20">

<th colspan="4"><input type="submit" value="Next" /></th>

Share this post


Link to post
Share on other sites



Hi,

is there a url so we can test?

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

is there a url so we can test?

www.ogame.org (u need register :/ )

This button is from http game ... Ogame.org or (de) , button confirms send your ships in space after you select how many ships will fly

<form action="flotten2.php?session=XXXXXXXX" method="POST">

<table width="519" border="0" cellpadding="0" cellspacing="1">

<tr height="20">

<td colspan="4" class="c">Nowa misja: Wybierz flotę do misji</td>

</tr>

<tr height="20">

<th>Nazwa statku</th>

<th>Liczba</th>

<!-- <th>Gesch.</th> -->

<th>-</th>

<th>-</th>

</tr>

<tr height="20">

<th><a title="Prędkość: 0">Satelita słoneczny</a></th>

<th>30<input type="hidden" name="maxship212" value="30"/></th>

<!-- <th>0 -->

<input type="hidden" name="consumption212" value="0"/>

<input type="hidden" name="speed212" value="0" /></th>

<input type="hidden" name="capacity212" value="0" /></th>

<th></th>

<th></th>

</tr>

<tr height="20">

<th colspan="2"><a href="java script:noShips();" >Żadnych statków</a></th>

<th colspan="2"><a href="java script:maxShips();" >Wszystkie statki</a></th>

</tr>

<tr height="20">

<th colspan="4"><input type="submit" value="Dalej" /></th>

</tr>

<tr><th colspan=4>

Edited by saveyoursoul

Share this post


Link to post
Share on other sites

_IeLinkClickByText wouldnt work because it's BUTTON not a LINK


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

Is it the Submit (Dalej) that you are trying to click?


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

Is it the Submit (Dalej) that you are trying to click?

YES

Share this post


Link to post
Share on other sites

How about _IEFormSubmit?

Share this post


Link to post
Share on other sites

How about _IEFormSubmit?

sorry i'm noob

Some example?

Share this post


Link to post
Share on other sites

sorry i'm noob

Some example?

look in the help file...... ;)

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

People need to stop calling themselves noobs and hoping people will help because of that. Learn the language.

Is this a game bot?

Share this post


Link to post
Share on other sites

My first step was read help file ...:]

How i get the button , to past then to _IEFormSubmit($o?????)

Share this post


Link to post
Share on other sites

Ok i do something like that :

$oForm = _IEFormGetCollection ($oRightSide, 0)

_IEFormSubmit ($oForm)

it work :] THX all for help

Share this post


Link to post
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
Sign in to follow this  
Followers 0