Jump to content

Finds Your Ip On Windows.


coolness
 Share

Recommended Posts

Here is the autoitv3 script, to find your Ip on windows, or just download the already compiled zip, from the bottom of this page.

;

; AutoIt Version: 3.0

; Language: English

; Platform: Win9x/NT

; Author: Jonathan Bennett (jon@hiddensoft.com)

;

; Script Function:

; Runs script, to find the IP address on your computer.

;

; Prompt the user to run the script - use a Yes/No prompt (4 - see help file)

$answer = MsgBox(4, "AutoIt Example (English Only)", "This script will run to find your IP Address. Run?")

; Check the user's answer to the prompt (see the help file for MsgBox return values)

; If "No" was clicked (7) then exit the script

If $answer = 7 Then

MsgBox(0, "AutoIt", "OK. Bye!")

Exit

EndIf

; run IP

RUN("cmd")

Sleep(300)

Send("{enter}")

Sleep(300)

Send("ipconfig")

Sleep(300)

Send("{enter}")

Font size edited by jpm

Ip_lookup.zip

Edited by jpm
Link to comment
Share on other sites

:)

Don't take this the wrong way--but if you are new to AutoIt and/or new to the forums, I suggest reading/searching more posts before you post again.

MsgBox(0x1000,"IP Address", @IPAddress1)

* See http://www.autoitscript.com/autoit3/docs/macros.htm

* Excessively large fonts are also discouraged.

* Code samples should have unnecessary lines removed and should usually be pasted inside of

 
tags.

P.S.

Run(@ComSpec) ;because Windows 9x/Me has "command" instead of "cmd"

See also the WinWait commands.

Edited by CyberSlug
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

A realy good advice by @CyberSlug there :)

A quick search for ip in the help file should do it :mellow:

Link to comment
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
 Share

  • Recently Browsing   0 members

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