xbonez Posted October 15, 2009 Share Posted October 15, 2009 How can I get AutoIt to lookup the IP address of a machine by name and send it to cliipboard? I can easily do a nslookup of the machine name, and that displays the IP address, but just displaying the IP address on the screen isn't enough. I need the IP address to be on the clipboard, or a notepad file or some such thing. Thanks Link to comment Share on other sites More sharing options...
ThickOfIt Posted October 15, 2009 Share Posted October 15, 2009 you want to capture the output with stdout. here's how to perform a similar operation in vbscript http://blogs.technet.com/heyscriptingguy/archive/2006/08/17/how-can-i-modify-the-output-of-the-ping-command.aspx Link to comment Share on other sites More sharing options...
boogieoompa Posted October 15, 2009 Share Posted October 15, 2009 Like this? $IP = @IPAddress1 ClipPut($IP) Link to comment Share on other sites More sharing options...
TurionAltec Posted October 15, 2009 Share Posted October 15, 2009 _TCPIpToName() function in "iNet.au3" UDF Link to comment Share on other sites More sharing options...
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