Sign in to follow this  
Followers 0
neocodesoftware

autoit programmer needed

4 posts in this topic

i need a autoit script that

1. checks a url for a string

example: http://localhost/index.html = $contents

$siteUp = patternmatch($contents, "some string")

2. if not $siteUp then

send an email

then close a windows app (file > Exit or Alt-F4)

(allow me to specify windows app - it could be apache.exe running in console mode - but it isn't)

wait for it to close

then open it again with a document

i would like to pay to have this done

i pay via paypal or i made a job on odesk - http://www.odesk.com/jobs/autoit-windows-script_~~8596ba11ce3da7d4

using logmein you can show it works on your machine - and i can make a 50% payment - and when it works on my machine (you install with logmein) - i can make final payment

but i am flexible on the terms

Share this post


Link to post
Share on other sites



i need a autoit script that

1. checks a url for a string

example: http://localhost/index.html = $contents

$siteUp = patternmatch($contents, "some string")

2. if not $siteUp then

send an email

then close a windows app (file > Exit or Alt-F4)

(allow me to specify windows app - it could be apache.exe running in console mode - but it isn't)

wait for it to close

then open it again with a document

i would like to pay to have this done

i pay via paypal or i made a job on odesk - http://www.odesk.com/jobs/autoit-windows-script_~~8596ba11ce3da7d4

using logmein you can show it works on your machine - and i can make a 50% payment - and when it works on my machine (you install with logmein) - i can make final payment

but i am flexible on the terms

I can do this for you later tonight if you keep your word that you shall buy from me.


[center][/center][center]=][u][/u][/center][center][/center]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

To Automate IE

#include <IE.au3>
$varWWW = "www.google.com"
$varContents = "http://mail.google.com/mail"
$oIE = _IECreate($varWWW)
If StringInstr(_IEDocReadHTML($oIE),$varContents) Then msgbox(0,"Contents Found!","Found " & $varContents & @CRLF & "on " & $varWWW)

To just download the Source

#include <INet.au3>
$varWWW = "www.google.com"
$varContents = "http://mail.google.com/mail"
If StringInstr(_INetGetSource($varWWW),$varContents) Then msgbox(0,"Contents Found!","Found " & $varContents & @CRLF & "on " & $varWWW)

Other useful funcs

_IEDocReadHTML()
_IELinkGetCollection()
_IELinkClickByText()
_IENavigate()

Do yourself a favor and do some reading. It's free.

Sorry to rain on your parade IchBistTod, but seriously...

Edited by spudw2k

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