Sign in to follow this  
Followers 0
coolness

Finds Your Ip On Windows.

5 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

:)

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!

Share this post


Link to post
Share on other sites
Do you think you can help me, with my multi hotkey question?

Share this post


Link to post
Share on other sites

Stop using large fonts.

Sorry, I had to do that. What is your hotkey question? We can't help you unless you actually ask it.

Share this post


Link to post
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
Sign in to follow this  
Followers 0