Jump to content

Search "start" then Sleep if found


c4mpi
 Share

Recommended Posts

You have already asked that today, and you got answer.

http://www.autoitscript.com/forum/index.php?showtopic=110593&st=0&p=776582&fromsearch=1&#entry776582

We will provide help when your stuck but noone heare is gona write it for you.

So show some code and explaind where your stuck.

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

You have already asked that today, and you got answer.

http://www.autoitscript.com/forum/index.php?showtopic=110593&st=0&p=776582&fromsearch=1&#entry776582

We will provide help when your stuck but noone heare is gona write it for you.

So show some code and explaind where your stuck.

Okey, if this will help me getting help so:

#include <IE.au3>
$oIE = _IE_Example ("basic")
$sText = _IEBodyReadText ($oIE) ; I want to send $results to StringInStr


$result = StringInStr; then use StringInStr to search the text for a word


$location = ; _IEBodyReadText results?

My problem is to combine it...

thanks for reply

Link to comment
Share on other sites

#include <IE.au3>
#include <Array.au3>
$oIE = _IE_Example ("basic")
$sText = _IEBodyReadText ($oIE) ; I want to send $results to StringInStr
MsgBox(0,"",$sText)

If StringInStr($sText,"wonderful") Then
    $split = StringSplit($sText,@CR); split the data on every row
    _ArrayDisplay($split)
;~  MsgBox(0,"",$split[3])

    For $x = 1 To $split[0]
        If StringInStr($split[$x],"wonderful") Then MsgBox(0,"",$split[$x])
    Next
Else
;~  Sleep(5000)
EndIf

i would suggest for you to look Func() command becose youl probably need it to repeat some part of code.

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
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...