keilamym Posted March 23, 2017 Posted March 23, 2017 hi everyone. quick question. is there a function or method to return the local IP address. I created a simple script that provides a message box with the computer name. Id like to add the IP address to the message box but I don't see a function for it, and I didn't see anything when I searched the forum. any help you could provide is appreciated.
Subz Posted March 23, 2017 Posted March 23, 2017 (edited) Have you looked at the macros? @IPAddress1, @IPAddress2 etc... You could also use: TCPStartup() $sComputer = TCPNameToIP(@ComputerName) TCPShutdown() MsgBox(64, "Local Computer Ip Address", @ComputerName & " IP Address " & $sComputer) Edited March 23, 2017 by Subz keilamym 1
keilamym Posted March 23, 2017 Author Posted March 23, 2017 crap Subz... why didn't I think of that. Thank you.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now