Jump to content
Sign in to follow this  
autolinktrader

autoit ie brains needed

Recommended Posts

autolinktrader

is this possable with autoit

when my gui open a web page ,

and my user logs into the web site

and lands on a user page

can autoit check to see if this page exist , like( if winexist ) but more like if url exist

im sorry for uncleare explanaction

all i need is my script to wait till a user logs in to my website befor continuing , i happy will a simple single line of code ie if url exist

Share this post


Link to post
Share on other sites
autolinktrader

;;;;;;;;;; so below i have my button

Case $msg = $button1

MsgBox(4096, "WAR OF THE POKRBOT, MAN V MACHINE ,POWER OF POKERBOT", "man never stood a chance going to the web site please check out our greate profiles too", 1)

Run(@Comspec & " /c start " & "http://www.thesiteofchoice.com")

;;;;;;;; user presses button

;;;;;;;;and website loads up login page user then logs in

;;;;;;;;new url pops up

;;;;;;;;;is there a bit of code to i can use in a func() that will return 1 if this certain page exist

;;;;;;;;;;

func webpagethere()

if http://www.thesiteofchoice.com/loggedin.php exist then

reuturn 1

endif

endfunc

Share this post


Link to post
Share on other sites
ileandros

Func Webpagethere()
Local $url = "http://www.thesiteofchoice.com/loggedin.php"
$tittle = WinGetTitle("[CLASS:IEFrame]", "")
If $tittle == $url Then
Return 1
Else
MsgBox(0,"","Page was not loaded")
EndIf
EndFunc

Edited by ileandros

I feel nothing.It feels great.

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  

×