Jump to content
Sign in to follow this  
tykilroy

Help with Error Event log

Recommended Posts

tykilroy

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

Share this post


Link to post
Share on other sites
kylomas

Edit: Appropriately freaked out by missing the obvious!!!

Edited 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

Share this post


Link to post
Share on other sites
JLogan3o13

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

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
JohnQSmith

.

.

.

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".

Share this post


Link to post
Share on other sites
Melba23

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


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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

 

Share this post


Link to post
Share on other sites
JohnQSmith

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".

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×