Sign in to follow this  
Followers 0
c4mpi

Search "start" then Sleep if found

4 posts in this topic

Okey, Im stuck trying to search the word "start" on IE, I want the script to search after the word "start" then sleep if found.

Can anyone please make this script for me? I would really appreciate it :mellow:

tried for hours btw

Share this post


Link to post
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.


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.

 

Share this post


Link to post
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

Share this post


Link to post
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.

 

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