tykilroy Posted February 29, 2012 Share Posted February 29, 2012 I would like an event log that records the ip address every time an error box pops up for that ip. If anyone can help me I would appreciate it Here is the If statement I have everytime the error box is active. It bascially tells the program to close the error box and go on to the next ip address. If WinActive ("Error - Sapphire") Then Send("{TAB}") Send("{ENTER}") Send("{TAB}") Send("{TAB}") Send("{TAB}") Sleep(1000) $varIP = $varIp + 1 Send("192.23." & $varIP & ".50") Send("{TAB}") Send("Username") MouseMove(768,468) MouseDown("left") Sleep(100) MouseUp("left") MouseDown("left") Sleep(100) MouseUp("left") Send("Password") Send("{Enter}") EndIf Link to comment Share on other sites More sharing options...
kylomas Posted February 29, 2012 Share Posted February 29, 2012 (edited) Edit: Appropriately freaked out by missing the obvious!!! Edited February 29, 2012 by kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 29, 2012 Moderators Share Posted February 29, 2012 (edited) Hi, tykilroy, welcome to the forum. It appears that you are trying to automate logging into (or back into?) a website? Please be sure you have read the forum rules regarding automating forum and website logins Edited February 29, 2012 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
JohnQSmith Posted February 29, 2012 Share Posted February 29, 2012 ...Send("Username")...Send("Password")...This looks more like an auto-login script to me. Have you checked this thread? Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes". Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 29, 2012 Moderators Share Posted February 29, 2012 tykilroy, As well as the log-in aspect of your posted code, I am less than impressed by the auto-incrementing IP you appear to be sending - smacks of a brute force approach. Any explanation as to why I should not lock this thread? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
JohnQSmith Posted February 29, 2012 Share Posted February 29, 2012 After you pointed that out, Melba23, I reread the description and the code and came to an even more interesting conclusion. It's a war-dialer. Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes". Link to comment Share on other sites More sharing options...
Recommended Posts