Jump to content

Help with Error Event log


tykilroy
 Share

Recommended Posts

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

  • Moderators

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 :oops:

Edited 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

  • Moderators

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? :oops:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...