zuk Posted May 11, 2006 Share Posted May 11, 2006 Hello, This is my 2nd post, just to say I'm still nOOb here :"> I would like to know if au3 allows to realize these functions remotely: @LogonDNSDomain @LogonDomain @OSVersion ... I built that little script (test): $IPRANGE1 = "192.168.1." $IPEND1 = "15" $i = 1 $PINGIT = Ping(($IPRANGE1 & $i),100) Do Ping(($IPRANGE1 & $i),100) If @error = 0 Then FileWrite("testping.txt", ($IPRANGE1 & $i & @CRLF)) $i = $i + 1 Else $i = $i + 1 EndIf Until $i = $IPEND1 MsgBox(0,"Status","Over!") And would like to implement @LogonDNSDomain... On the reachable computers (then add infos in the txt file). Is it possible or are these commands only available for the local pc where script has been launched? Thx per advance Link to comment Share on other sites More sharing options...
Uten Posted May 11, 2006 Share Posted May 11, 2006 These macros are assosiated with the computer the script is running on. If you want to do remote stuff take a look at pstools at systeminternals. If you have a script running on the remote computer. And the scripts are listening to a TCP/IP port you deside the comunication protocol and what the script will respon to or send back. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
zuk Posted May 12, 2006 Author Share Posted May 12, 2006 Thx for the answer & the tip ! 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