neocodesoftware Posted December 10, 2009 Share Posted December 10, 2009 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 Link to comment Share on other sites More sharing options...
JohnOne Posted December 10, 2009 Share Posted December 10, 2009 http://www.rentacoder.com/RentACoder/DotNet/default.aspx AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
IchBistTod Posted December 10, 2009 Share Posted December 10, 2009 i need a autoit script that1. checks a url for a stringexample: http://localhost/index.html = $contents$siteUp = patternmatch($contents, "some string")2. if not $siteUp thensend an emailthen 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 closethen open it again with a documenti would like to pay to have this donei pay via paypal or i made a job on odesk - http://www.odesk.com/jobs/autoit-windows-script_~~8596ba11ce3da7d4using 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 paymentbut i am flexible on the termsI 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] Link to comment Share on other sites More sharing options...
spudw2k Posted December 10, 2009 Share Posted December 10, 2009 (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 December 10, 2009 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now