Francis Lennert (France) Posted October 21, 2005 Share Posted October 21, 2005 Hello everyone, I want to use AutoItX from my development tool (Omnis Studio) to find what is the IP address of my users. Is there a way to retrieve the @IPADDRESS from this COM version ? Something like MyVar = MyAutoItObject.PleaseSendMeBack("@IPADDRESS") Thanks for your help, Francis Link to comment Share on other sites More sharing options...
Confuzzled Posted October 22, 2005 Share Posted October 22, 2005 Try the _GetIP() function in Inet.au3 which is one of the bundled UDFs with AutoIT.;===============================================================================;; Function Name: _GetIP(); Description: Get public IP address of a network/computer.; Parameter(s): None; Requirement(s): Internet access.; Return Value(s): On Success - Returns the public IP Address; On Failure - -1 and sets @ERROR = 1; Author(s): Larry/Ezzetabi & Jarvis Stubblefield;;===============================================================================Is this what you need? Link to comment Share on other sites More sharing options...
Francis Lennert (France) Posted October 22, 2005 Author Share Posted October 22, 2005 Many thanks for you Answer. I think that I was not very clear. I wanted to know if it is possible, with AutoItX ( the COM version ) to use the "@...." Macros which exist in the standard ( the EXE version) of AutoIt. Th @IPADDRESS was an exemple the main thing is : How can I take a lok at these Macros from the COM version. Regards, Francis 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